floor the chain fee float
This commit is contained in:
parent
4c36b7813a
commit
f3ac63050e
|
@ -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}>
|
||||
|
|
Loading…
Reference in New Issue