aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/block.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/evm/block.go')
-rw-r--r--plugin/evm/block.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/evm/block.go b/plugin/evm/block.go
index 1e1d710..556f171 100644
--- a/plugin/evm/block.go
+++ b/plugin/evm/block.go
@@ -136,7 +136,9 @@ func (b *Block) Verify() error {
if utx.SemanticVerify(vm, tx) != nil {
return errInvalidBlock
}
- if utx.EVMStateTransfer(vm, pState) != nil {
+ bc := vm.chain.BlockChain()
+ _, _, _, err = bc.Processor().Process(b.ethBlock, pState, *bc.GetVMConfig())
+ if err != nil {
return errInvalidBlock
}
}