Skip to content

Commit

Permalink
fix(HTTP): using amount type for fee in transaction details (#1255)
Browse files Browse the repository at this point in the history
  • Loading branch information
kehiy authored and themantre committed May 5, 2024
1 parent f755585 commit c77d6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/http/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit c77d6f2

Please sign in to comment.