Remove access witness from the signature of Process (#38)

This commit is contained in:
Guillaume Ballet
2021-11-26 16:19:49 +01:00
parent 909049c5fe
commit 86bdc3fb39
5 changed files with 8 additions and 9 deletions

View File

@ -131,7 +131,7 @@ func (eth *Ethereum) StateAtBlock(block *types.Block, reexec uint64, base *state
if current = eth.blockchain.GetBlockByNumber(next); current == nil {
return nil, fmt.Errorf("block #%d not found", next)
}
_, _, _, _, err := eth.blockchain.Processor().Process(current, statedb, vm.Config{})
_, _, _, err := eth.blockchain.Processor().Process(current, statedb, vm.Config{})
if err != nil {
return nil, fmt.Errorf("processing block %d failed: %v", current.NumberU64(), err)
}