| 1475 | } |
| 1476 | |
| 1477 | void CWallet::UnsetWalletFlagWithDB(WalletBatch& batch, uint64_t flag) |
| 1478 | { |
| 1479 | LOCK(cs_wallet); |
| 1480 | m_wallet_flags &= ~flag; |
| 1481 | if (!batch.WriteWalletFlags(m_wallet_flags)) |
| 1482 | throw std::runtime_error(std::string(__func__) + ": writing wallet flags failed"); |
| 1483 | } |
| 1484 | |
| 1485 | void CWallet::UnsetBlankWalletFlag(WalletBatch& batch) |
| 1486 | { |
nothing calls this directly
no test coverage detected