mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 17:44:29 +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)
|
||||
} else {
|
||||
stateReader = state.NewPlainState(tx, blockNumber)
|
||||
stateReader = state.NewPlainState(tx, blockNumber+1)
|
||||
}
|
||||
return stateReader, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user