core/state: fix state iterator (#19127)
* core/state: fix state iterator * core: fix state iterator more elegant
This commit is contained in:
committed by
Péter Szilágyi
parent
7dd3194710
commit
36f81118f6
@ -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
|
||||
|
Reference in New Issue
Block a user