| 185 | } |
| 186 | |
| 187 | bool CHDChain::GetAccount(uint32_t nAccountIndex, CHDAccount& hdAccountRet) |
| 188 | { |
| 189 | LOCK(cs_accounts); |
| 190 | if (nAccountIndex > mapAccounts.size() - 1) |
| 191 | return false; |
| 192 | hdAccountRet = mapAccounts[nAccountIndex]; |
| 193 | return true; |
| 194 | } |
| 195 | |
| 196 | bool CHDChain::SetAccount(uint32_t nAccountIndex, const CHDAccount& hdAccount) |
| 197 | { |
no test coverage detected