core/state_processor: don't use nil value in call

This commit is contained in:
lightclient 2023-08-14 10:30:48 -06:00 committed by GitHub
parent 746adf22aa
commit 3dcfd13485
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
Data: (*beaconRoot)[:], // TODO use 4byte invocation?
}
vmenv.Reset(NewEVMTxContext(msg), statedb)
_, _, _ = vmenv.Call(vm.AccountRef(msg.From), *msg.To, msg.Data, 100_000, nil)
_, _, _ = vmenv.Call(vm.AccountRef(msg.From), *msg.To, msg.Data, 100_000, common.Big0)
statedb.Finalise(true)
}
// Iterate over and process the individual transactions