Skip to content

Commit 179df70

Browse files
committed
mempooltxtables:fix fee calculation
1 parent 85e9281 commit 179df70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/mempooltxtables.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ QVariant MempoolTxTableModel::data(const QModelIndex& index, int role) const
5050
return BitcoinUnits::formatWithUnit(BitcoinUnits::Unit::BTC, wtx->credit - wtx->debit, false, BitcoinUnits::SeparatorStyle::ALWAYS);
5151
case Fee:
5252
{
53-
CAmount fee = wtx->debit - wtx->credit - wtx->change;
53+
CAmount fee = wtx->debit - wtx->credit;
5454
return BitcoinUnits::formatWithUnit(BitcoinUnits::Unit::BTC, fee, false, BitcoinUnits::SeparatorStyle::ALWAYS);
5555
}
5656
case Status:

0 commit comments

Comments
 (0)