contract account ******************************/
| 20 | |
| 21 | /************************ contract account ******************************/ |
| 22 | bool CContractDBCache::GetContractAccount(const CRegID &contractRegId, const string &accountKey, |
| 23 | CAppUserAccount &appAccOut) { |
| 24 | auto key = std::make_pair(CRegIDKey(contractRegId), accountKey); |
| 25 | return contractAccountCache.GetData(key, appAccOut); |
| 26 | } |
| 27 | |
| 28 | bool CContractDBCache::SetContractAccount(const CRegID &contractRegId, const CAppUserAccount &appAccIn) { |
| 29 | if (appAccIn.IsEmpty()) { |