aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/feebumper.cpp
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2019-09-17 18:56:50 -0400
committerAndrew Chow <achow101-github@achow101.com>2022-08-03 15:33:15 -0400
commit97532867cf51db3e941231fbdc60f9f4fa0012a0 (patch)
tree5d1eeab76cdb56f81b88c7ad9ba3f22ca8957256 /src/wallet/feebumper.cpp
parent1f798fe85ba952273005f68e36ed48cfc36f4c9d (diff)
downloadbitcoin-97532867cf51db3e941231fbdc60f9f4fa0012a0.tar.xz
Change mapTxSpends to be a std::unordered_multimap
Diffstat (limited to 'src/wallet/feebumper.cpp')
-rw-r--r--src/wallet/feebumper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/feebumper.cpp b/src/wallet/feebumper.cpp
index 43fdcee48d..3ae81456b6 100644
--- a/src/wallet/feebumper.cpp
+++ b/src/wallet/feebumper.cpp
@@ -21,7 +21,7 @@ namespace wallet {
//! mined, or conflicts with a mined transaction. Return a feebumper::Result.
static feebumper::Result PreconditionChecks(const CWallet& wallet, const CWalletTx& wtx, std::vector<bilingual_str>& errors) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)
{
- if (wallet.HasWalletSpend(wtx.GetHash())) {
+ if (wallet.HasWalletSpend(wtx.tx)) {
errors.push_back(Untranslated("Transaction has descendants in the wallet"));
return feebumper::Result::INVALID_PARAMETER;
}