From 36f81118f6d00713dbf8d1caf168ad937e0f1a90 Mon Sep 17 00:00:00 2001 From: gary rong Date: Fri, 5 Apr 2019 14:44:02 +0800 Subject: core/state: fix state iterator (#19127) * core/state: fix state iterator * core: fix state iterator more elegant --- core/vm/interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/vm') diff --git a/core/vm/interface.go b/core/vm/interface.go index fc15082f1..dd401466a 100644 --- a/core/vm/interface.go +++ b/core/vm/interface.go @@ -63,7 +63,7 @@ type StateDB interface { AddLog(*types.Log) AddPreimage(common.Hash, []byte) - ForEachStorage(common.Address, func(common.Hash, common.Hash) bool) + ForEachStorage(common.Address, func(common.Hash, common.Hash) bool) error } // CallContext provides a basic interface for the EVM calling conventions. The EVM -- cgit v1.2.3