(addr common.Address, bhash common.Hash)
| 237 | } |
| 238 | |
| 239 | func (self *StateDB) GetState(addr common.Address, bhash common.Hash) common.Hash { |
| 240 | stateObject := self.getStateObject(addr) |
| 241 | if stateObject != nil { |
| 242 | return stateObject.GetState(self.db, bhash) |
| 243 | } |
| 244 | return common.Hash{} |
| 245 | } |
| 246 | |
| 247 | // Database retrieves the low level database supporting the lower level trie ops. |
| 248 | func (self *StateDB) Database() Database { |
nothing calls this directly
no test coverage detected