Skip to content

Commit

Permalink
fix: usd calculation for gas price (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
defispartan authored Nov 12, 2021
1 parent b36290c commit 5cf7b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TxEstimation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function TxEstimation({ getTransactionsData, amount }: TxEstimati
<div className="TxEstimation__values">
<Value value={Number(estimatedTx)} symbol={'ETH'} /> /
<Value
value={valueToBigNumber(estimatedTx).div(marketRefPriceInUsd).toNumber()}
value={valueToBigNumber(estimatedTx).multipliedBy(marketRefPriceInUsd).toNumber()}
symbol={'USD'}
/>
</div>
Expand Down

0 comments on commit 5cf7b2a

Please sign in to comment.