2323#include < stdint.h>
2424#include < string>
2525
26- QString TransactionDesc::FormatTxStatus (const interfaces::WalletTx& wtx, const interfaces::WalletTxStatus& status, bool inMempool, int numBlocks, int64_t adjustedTime )
26+ QString TransactionDesc::FormatTxStatus (const interfaces::WalletTx& wtx, const interfaces::WalletTxStatus& status, bool inMempool, int numBlocks)
2727{
2828 if (!status.is_final )
2929 {
@@ -49,11 +49,10 @@ QString TransactionDesc::FormatTxStatus(const interfaces::WalletTx& wtx, const i
4949QString TransactionDesc::toHTML (interfaces::Node& node, interfaces::Wallet& wallet, TransactionRecord *rec, int unit)
5050{
5151 int numBlocks;
52- int64_t adjustedTime;
5352 interfaces::WalletTxStatus status;
5453 interfaces::WalletOrderForm orderForm;
5554 bool inMempool;
56- interfaces::WalletTx wtx = wallet.getWalletTxDetails (rec->hash , status, orderForm, inMempool, numBlocks, adjustedTime );
55+ interfaces::WalletTx wtx = wallet.getWalletTxDetails (rec->hash , status, orderForm, inMempool, numBlocks);
5756
5857 QString strHTML;
5958
@@ -65,7 +64,7 @@ QString TransactionDesc::toHTML(interfaces::Node& node, interfaces::Wallet& wall
6564 CAmount nDebit = wtx.debit ;
6665 CAmount nNet = nCredit - nDebit;
6766
68- strHTML += " <b>" + tr (" Status" ) + " :</b> " + FormatTxStatus (wtx, status, inMempool, numBlocks, adjustedTime );
67+ strHTML += " <b>" + tr (" Status" ) + " :</b> " + FormatTxStatus (wtx, status, inMempool, numBlocks);
6968 strHTML += " <br>" ;
7069
7170 strHTML += " <b>" + tr (" Date" ) + " :</b> " + (nTime ? GUIUtil::dateTimeStr (nTime) : " " ) + " <br>" ;
0 commit comments