aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-03-10 18:40:57 +0100
committerJon Atack <jon@atack.com>2020-03-26 17:54:21 +0100
commit4a0b27bb01738e6917e27b2cf47f9a8536249693 (patch)
treea6a1c09e18f53b30d21e979397b86b95ac940247 /src/qt
parente347cfa9a7244277f9d220a4dc3537182f18441e (diff)
downloadbitcoin-4a0b27bb01738e6917e27b2cf47f9a8536249693.tar.xz
wallet: remove totalfee from createBumpTransaction()
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/walletmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index 8a84a8c168..9b072c5266 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -482,7 +482,7 @@ bool WalletModel::bumpFee(uint256 hash, uint256& new_hash)
CAmount old_fee;
CAmount new_fee;
CMutableTransaction mtx;
- if (!m_wallet->createBumpTransaction(hash, coin_control, 0 /* totalFee */, errors, old_fee, new_fee, mtx)) {
+ if (!m_wallet->createBumpTransaction(hash, coin_control, errors, old_fee, new_fee, mtx)) {
QMessageBox::critical(nullptr, tr("Fee bump error"), tr("Increasing transaction fee failed") + "<br />(" +
(errors.size() ? QString::fromStdString(errors[0]) : "") +")");
return false;