From 76292a48fe8643ea3ef864bde8da470406471df8 Mon Sep 17 00:00:00 2001 From: Peter Shugalev Date: Fri, 28 Jun 2024 13:06:26 +0200 Subject: [PATCH] Fixed fee calculation --- 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();