(addr common.Address)
| 229 | } |
| 230 | |
| 231 | func (self *StateDB) GetCodeHash(addr common.Address) common.Hash { |
| 232 | stateObject := self.getStateObject(addr) |
| 233 | if stateObject == nil { |
| 234 | return common.Hash{} |
| 235 | } |
| 236 | return common.BytesToHash(stateObject.CodeHash()) |
| 237 | } |
| 238 | |
| 239 | func (self *StateDB) GetState(addr common.Address, bhash common.Hash) common.Hash { |
| 240 | stateObject := self.getStateObject(addr) |
nothing calls this directly
no test coverage detected