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 ee5b7c6..77a85b3 100644
--- a/plugin/evm/block.go
+++ b/plugin/evm/block.go
@@ -137,7 +137,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
}
}