diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/evm/vm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go index 0463112..a1224d4 100644 --- a/plugin/evm/vm.go +++ b/plugin/evm/vm.go @@ -643,7 +643,7 @@ func (vm *VM) getCachedStatus(blockID ids.ID) choices.Status { for tempBlock.ethBlock != nil { parentID := ids.NewID(tempBlock.ethBlock.ParentHash()) tempBlock = vm.getBlock(parentID) - if tempBlock.ethBlock == nil { + if tempBlock == nil || tempBlock.ethBlock == nil { break } |