Merge pull request #515 from mempool/simon/round-up-fee-estimates

Round up fee estimations
This commit is contained in:
wiz authored and GitHub committed 2021-05-13 01:42:37 +09:00
commit 66087d035d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ class FeeApi {
const multiplier = (pBlock.blockVSize - 500000) / 500000;
return Math.max(Math.round(useFee * multiplier), this.defaultFee);
}
return Math.round(useFee);
return Math.ceil(useFee);
}
}
@@ -62,7 +62,7 @@ export class FeesBoxComponent implements OnInit {
const multiplier = (pBlock.blockVSize - 500000) / 500000;
return Math.max(Math.round(useFee * multiplier), this.defaultFee);
}
return Math.round(useFee);
return Math.ceil(useFee);
}
}