| 173 | } |
| 174 | |
| 175 | void CWallet::EraseTransaction(const uint256 &hash) { |
| 176 | if (!fFileBacked) |
| 177 | return; |
| 178 | { |
| 179 | LOCK(cs_wallet); |
| 180 | if (unconfirmedTx.count(hash)) { |
| 181 | unconfirmedTx.erase(hash); |
| 182 | CWalletDB(strWalletFile).EraseUnconfirmedTx(hash); |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | return; |
| 187 | } |
| 188 | |
| 189 | void CWallet::ResendWalletTransactions() { |
| 190 | vector<uint256> erase; |
no test coverage detected