(addr common.Address)
| 206 | } |
| 207 | |
| 208 | func (self *StateDB) GetCode(addr common.Address) []byte { |
| 209 | stateObject := self.getStateObject(addr) |
| 210 | if stateObject != nil { |
| 211 | return stateObject.Code(self.db) |
| 212 | } |
| 213 | return nil |
| 214 | } |
| 215 | |
| 216 | func (self *StateDB) GetCodeSize(addr common.Address) int { |
| 217 | stateObject := self.getStateObject(addr) |
nothing calls this directly
no test coverage detected