diff --git a/src/BlockTransactions.tsx b/src/BlockTransactions.tsx index ef81025..d0bb9b8 100644 --- a/src/BlockTransactions.tsx +++ b/src/BlockTransactions.tsx @@ -60,10 +60,12 @@ const BlockTransactions: React.FC = () => { from: t.from, to: t.to, value: t.value, - fee: t.gasLimit.mul(t.gasPrice!), + fee: provider.formatter + .bigNumber(_receipts[i].gasUsed) + .mul(t.gasPrice!), gasPrice: t.gasPrice!, data: t.data, - status: _receipts[i].status, + status: provider.formatter.number(_receipts[i].status), }; }) .reverse()