Skip to content

Commit

Permalink
Start fee calculation with MIN_TX_FEE
Browse files Browse the repository at this point in the history
  • Loading branch information
lateminer committed Aug 11, 2023
1 parent d735304 commit 06b358b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2621,7 +2621,7 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend, CWalletTx& wt
std::vector<COutput> vAvailableCoins;
AvailableCoins(vAvailableCoins, true, coinControl);

nFeeRet = Params().GetConsensus().IsProtocolV3_1(txNew.nTime) ? TX_FEE_PER_KB : 0;
nFeeRet = Params().GetConsensus().IsProtocolV3_1(txNew.nTime) ? MIN_TX_FEE : 0;
// Start with no fee and loop until there is enough fee
while (true)
{
Expand Down

0 comments on commit 06b358b

Please sign in to comment.