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(() => ({
|
const value = useMemo(() => ({
|
||||||
fee: data?.chainFee ?? chainFee ?? 0
|
fee: Math.floor(data?.chainFee ?? chainFee ?? 0)
|
||||||
}), [data, chainFee])
|
}), [data, chainFee])
|
||||||
return (
|
return (
|
||||||
<ChainFeeContext.Provider value={value}>
|
<ChainFeeContext.Provider value={value}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user