Parsing fixes

This commit is contained in:
Willian Mitsuda 2021-07-04 19:39:14 -03:00
parent f80b5526e8
commit c254ebed2d
1 changed files with 4 additions and 2 deletions

View File

@ -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()