From c0ddba267c8e89eea0c5be815f42c076a4915fb6 Mon Sep 17 00:00:00 2001 From: psolstice Date: Wed, 17 Jul 2024 02:21:39 +0200 Subject: [PATCH] Fixed fee calculation (#1465) --- src/qt/sendcoinsdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 63e4862569..8e5cd44bdb 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -360,7 +360,7 @@ void SendCoinsDialog::on_sendButton_clicked() pwalletMain->SetAddressBook(newKey.GetID(), "", "receive"); intermediateAddressScript = GetScriptForDestination(newKey.GetID()); - extraFee = CWallet::GetMinimumFee(secondTxSize, 0, mempool); + extraFee = CWallet::GetMinimumFee(secondTxSize, nTxConfirmTarget, mempool); SendCoinsRecipient newRecipient; newRecipient.address = CBitcoinAddress(newKey.GetID()).ToString().c_str();