From 7a21e84a6f56fc2ab39ce8a235a880cbc7a7c96d Mon Sep 17 00:00:00 2001 From: Peter Shugalev Date: Tue, 17 Aug 2021 20:55:40 +0300 Subject: [PATCH] Fix for conflict of PRs #1060 and #1063 --- src/qt/transactiondesc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/transactiondesc.cpp b/src/qt/transactiondesc.cpp index e1e4c520e9..620665719a 100644 --- a/src/qt/transactiondesc.cpp +++ b/src/qt/transactiondesc.cpp @@ -231,7 +231,7 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco CAmount nTxFee = nDebit - wtx.tx->GetValueOut(); if (wtx.tx->IsLelantusJoinSplit() && wtx.tx->vin.size() > 0) { - nTxFee = lelantus::ParseLelantusJoinSplit(wtx.tx->vin[0])->getFee(); + nTxFee = lelantus::ParseLelantusJoinSplit(*wtx.tx)->getFee(); } if (nTxFee > 0) strHTML += "" + tr("Transaction fee") + ": " + BitcoinUnits::formatHtmlWithUnit(unit, -nTxFee) + "
";