Skip to content

Commit

Permalink
Round estimates up to nearest integer
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfelton committed Feb 13, 2024
1 parent 173f922 commit 28ff1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ function addFeeEstimates(feeByBlockTarget: FeeByBlockTarget, feeEstimates: FeeBy
const lowestFee = getLowestFee(feeByBlockTarget)
for (const [blockTarget, fee] of Object.entries(feeEstimates)) {
if (!lowestFee || fee < lowestFee) {
feeByBlockTarget[blockTarget] = fee;
feeByBlockTarget[blockTarget] = Math.ceil(fee);
}
}
}
Expand Down

0 comments on commit 28ff1b7

Please sign in to comment.