(&mut self, from: &Account, to: &Account, amount: U256)
| 80 | } |
| 81 | |
| 82 | pub(crate) fn transfer(&mut self, from: &Account, to: &Account, amount: U256) -> Result<()> { |
| 83 | self.subtract_account_balance(from, amount)?; |
| 84 | self.add_account_balance(to, amount)?; |
| 85 | |
| 86 | Ok(()) |
| 87 | } |
| 88 | |
| 89 | // TODO(ddimaria): remove |
| 90 | pub(crate) fn update_nonce(&mut self, key: &Account, nonce: U256) -> Result<U256> { |
no test coverage detected