diff --git a/core/state/statedb.go b/core/state/statedb.go index f46f2f4427..4a50db0522 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -259,6 +259,7 @@ func (self *StateDB) GetCodeSize(addr common.Address) int { return size } +// GetCodeHash returns the hash of the code associated with the address. func (self *StateDB) GetCodeHash(addr common.Address) common.Hash { stateObject := self.GetStateObject(addr) if stateObject == nil {