aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/feebumper.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2020-12-06 16:11:39 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2020-12-06 18:44:31 +0000
commit31b136e5802e1b1e5f9a9589736afe0652f34da2 (patch)
tree9779b5d95f79318082347ed7f762a53e0fdb6016 /src/wallet/feebumper.cpp
parent1c65c075ee4c7f98d9c1fac5ed7576b96374d4e9 (diff)
downloadbitcoin-31b136e5802e1b1e5f9a9589736afe0652f34da2.tar.xz
Don't declare de facto const reference variables as non-const
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 7a8bc0b7f3..fa38fcc0ce 100644
--- a/src/wallet/feebumper.cpp
+++ b/src/wallet/feebumper.cpp
@@ -256,7 +256,7 @@ Result CommitTransaction(CWallet& wallet, const uint256& txid, CMutableTransacti
errors.push_back(Untranslated("Invalid or non-wallet transaction id"));
return Result::MISC_ERROR;
}
- CWalletTx& oldWtx = it->second;
+ const CWalletTx& oldWtx = it->second;
// make sure the transaction still has no descendants and hasn't been mined in the meantime
Result result = PreconditionChecks(wallet, oldWtx, errors);