| 571 | } |
| 572 | |
| 573 | bool CWallet::HasWalletSpend(const uint256& txid) const |
| 574 | { |
| 575 | AssertLockHeld(cs_wallet); |
| 576 | auto iter = mapTxSpends.lower_bound(COutPoint(txid, 0)); |
| 577 | return (iter != mapTxSpends.end() && iter->first.hash == txid); |
| 578 | } |
| 579 | |
| 580 | void CWallet::Flush() |
| 581 | { |