mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-20 17:31:11 +00:00
Update helper.go (#3737)
This commit is contained in:
parent
a6ff889db9
commit
4f7f1554c5
@ -99,7 +99,7 @@ func CreateStateReader(ctx context.Context, tx kv.Tx, blockNrOrHash rpc.BlockNum
|
|||||||
}
|
}
|
||||||
stateReader = state.NewCachedReader2(cacheView, tx)
|
stateReader = state.NewCachedReader2(cacheView, tx)
|
||||||
} else {
|
} else {
|
||||||
stateReader = state.NewPlainState(tx, blockNumber)
|
stateReader = state.NewPlainState(tx, blockNumber+1)
|
||||||
}
|
}
|
||||||
return stateReader, nil
|
return stateReader, nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user