Skip to content

Commit

Permalink
gasPriceCapGwei fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elznr committed Mar 20, 2023
1 parent a026d73 commit 4b3c9c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export function useRunner({

async function fetchAndProcess() {
if (gasPriceCap !== '' && gasPriceCap !== '0') {
gasPriceCapGwei = parseUnits(gasPriceCap + '', 'gwei');
gasPriceCapGwei = parseUnits(gasPriceCap, 'gwei');
}

if (gasPrice) {
Expand Down

0 comments on commit 4b3c9c7

Please sign in to comment.