We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2347945 commit 78edeb2Copy full SHA for 78edeb2
apps/namadillo/src/atoms/fees/atoms.ts
@@ -42,9 +42,9 @@ export const gasEstimateFamily = atomFamily(
42
Math.min(1, gasEstimate.totalEstimates / 1000)
43
);
44
return {
45
- min: gasEstimate.min * 1.1 - precision * 0.1,
46
- avg: gasEstimate.avg * 1.25 - precision * 0.25,
47
- max: gasEstimate.max * 1.5 - precision * 0.5,
+ min: Math.ceil(gasEstimate.min * 1.1 - precision * 0.1),
+ avg: Math.ceil(gasEstimate.avg * 1.25 - precision * 0.25),
+ max: Math.ceil(gasEstimate.max * 1.5 - precision * 0.5),
48
totalEstimates: gasEstimate.totalEstimates,
49
};
50
},
0 commit comments