| 1278 | } |
| 1279 | |
| 1280 | void CWallet::transactionAddedToMempool(const CTransactionRef& tx, uint64_t mempool_sequence) { |
| 1281 | LOCK(cs_wallet); |
| 1282 | SyncTransaction(tx, TxStateInMempool{}); |
| 1283 | |
| 1284 | auto it = mapWallet.find(tx->GetHash()); |
| 1285 | if (it != mapWallet.end()) { |
| 1286 | RefreshMempoolStatus(it->second, chain()); |
| 1287 | } |
| 1288 | } |
| 1289 | |
| 1290 | void CWallet::transactionRemovedFromMempool(const CTransactionRef& tx, MemPoolRemovalReason reason, uint64_t mempool_sequence) { |
| 1291 | LOCK(cs_wallet); |
no test coverage detected