@ -510,7 +510,7 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
nBytes - = 34 ;
nBytes - = 34 ;
// Fee
// Fee
nPayFee = CWallet : : GetMinimumFee ( nBytes , nTx ConfirmTarget, : : mempool , : : feeEstimator ) ;
nPayFee = CWallet : : GetMinimumFee ( nBytes , coinControl - > n ConfirmTarget, : : mempool , : : feeEstimator ) ;
if ( nPayAmount > 0 )
if ( nPayAmount > 0 )
{
{
@ -588,7 +588,7 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
if ( payTxFee . GetFeePerK ( ) > 0 )
if ( payTxFee . GetFeePerK ( ) > 0 )
dFeeVary = ( double ) std : : max ( CWallet : : GetRequiredFee ( 1000 ) , payTxFee . GetFeePerK ( ) ) / 1000 ;
dFeeVary = ( double ) std : : max ( CWallet : : GetRequiredFee ( 1000 ) , payTxFee . GetFeePerK ( ) ) / 1000 ;
else {
else {
dFeeVary = ( double ) std : : max ( CWallet : : GetRequiredFee ( 1000 ) , : : feeEstimator . estimateSmartFee ( nTx ConfirmTarget, NULL , : : mempool ) . GetFeePerK ( ) ) / 1000 ;
dFeeVary = ( double ) std : : max ( CWallet : : GetRequiredFee ( 1000 ) , : : feeEstimator . estimateSmartFee ( coinControl - > n ConfirmTarget, NULL , : : mempool ) . GetFeePerK ( ) ) / 1000 ;
}
}
QString toolTip4 = tr ( " Can vary +/- %1 satoshi(s) per input. " ) . arg ( dFeeVary ) ;
QString toolTip4 = tr ( " Can vary +/- %1 satoshi(s) per input. " ) . arg ( dFeeVary ) ;