(amount *big.Int)
| 258 | } |
| 259 | |
| 260 | func (self *stateObject) SetBalance(amount *big.Int) { |
| 261 | self.db.journal.append(balanceChange{ |
| 262 | account: &self.address, |
| 263 | prev: new(big.Int).Set(self.data.Balance), |
| 264 | }) |
| 265 | self.setBalance(amount) |
| 266 | } |
| 267 | |
| 268 | func (self *stateObject) setBalance(amount *big.Int) { |
| 269 | self.data.Balance = amount |
no test coverage detected