Make sure we use nTxConfirmTarget during Qt fee bumps

This commit is contained in:
Jonas Schnelli 2017-05-11 09:33:05 +02:00
parent be08fc39d0
commit 6ed4368f12
No known key found for this signature in database
GPG Key ID: 1EB776BB03C7922D

View File

@ -712,7 +712,7 @@ bool WalletModel::bumpFee(uint256 hash)
std::unique_ptr<CFeeBumper> feeBump; std::unique_ptr<CFeeBumper> feeBump;
{ {
LOCK2(cs_main, wallet->cs_wallet); LOCK2(cs_main, wallet->cs_wallet);
feeBump.reset(new CFeeBumper(wallet, hash, 0, false, 0, true)); feeBump.reset(new CFeeBumper(wallet, hash, nTxConfirmTarget, false, 0, true));
} }
if (feeBump->getResult() != BumpFeeResult::OK) if (feeBump->getResult() != BumpFeeResult::OK)
{ {