floor the chain fee float

This commit is contained in:
keyan 2023-12-21 17:45:03 -06:00
parent 4c36b7813a
commit f3ac63050e
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export const ChainFeeProvider = ({ chainFee, children }) => {
})
})
const value = useMemo(() => ({
fee: data?.chainFee ?? chainFee ?? 0
fee: Math.floor(data?.chainFee ?? chainFee ?? 0)
}), [data, chainFee])
return (
<ChainFeeContext.Provider value={value}>