Skip to content

Commit

Permalink
Fixed fee calculation (firoorg#1465)
Browse files Browse the repository at this point in the history
  • Loading branch information
psolstice authored Jul 17, 2024
1 parent ea4ea71 commit c0ddba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/sendcoinsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c0ddba2

Please sign in to comment.