Skip to content

Commit c0ddba2

Browse files
authored
Fixed fee calculation (#1465)
1 parent ea4ea71 commit c0ddba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/sendcoinsdialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ void SendCoinsDialog::on_sendButton_clicked()
360360
pwalletMain->SetAddressBook(newKey.GetID(), "", "receive");
361361
intermediateAddressScript = GetScriptForDestination(newKey.GetID());
362362

363-
extraFee = CWallet::GetMinimumFee(secondTxSize, 0, mempool);
363+
extraFee = CWallet::GetMinimumFee(secondTxSize, nTxConfirmTarget, mempool);
364364

365365
SendCoinsRecipient newRecipient;
366366
newRecipient.address = CBitcoinAddress(newKey.GetID()).ToString().c_str();

0 commit comments

Comments
 (0)