(addr common.Address)
| 197 | } |
| 198 | |
| 199 | func (self *StateDB) GetNonce(addr common.Address) uint64 { |
| 200 | stateObject := self.getStateObject(addr) |
| 201 | if stateObject != nil { |
| 202 | return stateObject.Nonce() |
| 203 | } |
| 204 | |
| 205 | return 0 |
| 206 | } |
| 207 | |
| 208 | func (self *StateDB) GetCode(addr common.Address) []byte { |
| 209 | stateObject := self.getStateObject(addr) |
nothing calls this directly
no test coverage detected