(&mut self, key: &Account, data: &AccountData)
| 53 | } |
| 54 | |
| 55 | pub(crate) fn add_account(&mut self, key: &Account, data: &AccountData) -> Result<()> { |
| 56 | self.upsert(key, data) |
| 57 | } |
| 58 | |
| 59 | pub(crate) fn get_account(&self, key: &Account) -> Result<AccountData> { |
| 60 | let account = &self |
no test coverage detected