| 311 | } |
| 312 | |
| 313 | shared_ptr<CAccount> CBaseTx::NewAccount(CCacheWrapper &cw, const CKeyID &keyid) { |
| 314 | shared_ptr<CAccount> spAccount = make_shared<CAccount>(keyid); |
| 315 | account_map.emplace(spAccount->keyid, spAccount); |
| 316 | return spAccount; |
| 317 | } |
| 318 | |
| 319 | bool CBaseTx::SaveAllAccounts(CTxExecuteContext &context) { |
| 320 | for (auto item : account_map) { |
no outgoing calls
no test coverage detected