Skip to content

Commit

Permalink
fix: update hooks/useFeeEstimation.ts
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Félix C. Morency <[email protected]>
  • Loading branch information
fmorency and coderabbitai[bot] authored Feb 12, 2025
1 parent 9b76943 commit 92f5c74
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hooks/useFeeEstimation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ export const useFeeEstimation = (chainName: string) => {
const fee = calculateFee(
Math.round(gasEstimation * (modifier || 1.5)),
GasPrice.fromString(
`${gasPrice}${chainName === 'manifesttestnet' || 'manifestdevnet' ? 'umfx' : 'uosmo'}`
`${gasPrice}${
chainName === 'manifesttestnet' || chainName === 'manifestdevnet'
? 'umfx'
: 'uosmo'
}`
)

Check warning on line 34 in hooks/useFeeEstimation.ts

View check run for this annotation

Codecov / codecov/patch

hooks/useFeeEstimation.ts#L28-L34

Added lines #L28 - L34 were not covered by tests
);

Expand Down

0 comments on commit 92f5c74

Please sign in to comment.