From c77d6f2474fccd2426c08e41a3f81c92fd3aa34d Mon Sep 17 00:00:00 2001 From: Kay Date: Thu, 2 May 2024 14:01:35 +0330 Subject: [PATCH] fix(HTTP): using amount type for fee in transaction details (#1255) --- www/http/transaction.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/http/transaction.go b/www/http/transaction.go index 69fa11383..bba0be7e9 100644 --- a/www/http/transaction.go +++ b/www/http/transaction.go @@ -56,7 +56,7 @@ func txToTable(trx *pactus.TransactionInfo, tm *tableMaker) { tm.addRowBytes("Data", trx.Data) tm.addRowInt("Version", int(trx.Version)) tm.addRowInt("LockTime", int(trx.LockTime)) - tm.addRowInt("Fee", int(trx.Fee)) + tm.addRowAmount("Fee", amount.Amount(trx.Fee)) tm.addRowString("Memo", trx.Memo) tm.addRowString("Payload type", trx.PayloadType.String())