Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

Commit

Permalink
fix: uncomment feature
Browse files Browse the repository at this point in the history
  • Loading branch information
BelfordZ committed Oct 16, 2020
1 parent d1e784a commit f471957
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/BlockView/BlockGasPrice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ function BlockGasPrice(props: any) {
<TableRow>
<TableCell>{t("Average Gas Price")}</TableCell>
<TableCell>
{/* {_.meanBy(transactions, (t: any) => BigInt(t.gasPrice))} */}
{ _.meanBy(transactions, (t: any) => BigInt(t.gasPrice)) }
</TableCell>
</TableRow>

<TableRow>
<TableCell>{t("Min Gas Price")}</TableCell>
<TableCell>
{/* {hexToNumber(_.minBy(transactions, (t: any) => BigInt(t.gasPrice)).gasPrice)} */}
{ hexToNumber(_.minBy(transactions, (t: any) => BigInt(t.gasPrice)).gasPrice) }
</TableCell>
</TableRow>

<TableRow>
<TableCell>{t("Max Gas Price")}</TableCell>
<TableCell>
{/* {hexToNumber(_.maxBy(transactions, (t: any) => BigInt(t.gasPrice)).gasPrice)} */}
{ hexToNumber(_.maxBy(transactions, (t: any) => BigInt(t.gasPrice)).gasPrice) }
</TableCell>
</TableRow>
</>
Expand Down

0 comments on commit f471957

Please sign in to comment.