Skip to content

Commit

Permalink
remove uosmo from fee estimation hook
Browse files Browse the repository at this point in the history
  • Loading branch information
chalabi2 committed Feb 12, 2025
1 parent 5af6548 commit 68b1c81
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions hooks/useFeeEstimation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,7 @@ export const useFeeEstimation = (chainName: string) => {

const fee = calculateFee(
Math.round(gasEstimation * (modifier || 1.5)),
GasPrice.fromString(
`${gasPrice}${
chainName === 'manifesttestnet' || chainName === 'manifestdevnet'
? 'umfx'
: 'uosmo'
}`
)
GasPrice.fromString(`${gasPrice}umfx`)

Check warning on line 28 in hooks/useFeeEstimation.ts

View check run for this annotation

Codecov / codecov/patch

hooks/useFeeEstimation.ts#L28

Added line #L28 was not covered by tests
);

return fee;
Expand Down

0 comments on commit 68b1c81

Please sign in to comment.