round precise fee recommendations to 3.d.p

This commit is contained in:
Mononaut 2025-10-30 10:36:08 +00:00
parent ee1a4ae6e2
commit 38c1924057
No known key found for this signature in database
GPG key ID: A3F058E41374C04E

View file

@ -68,11 +68,11 @@ class FeeApi {
hourFee = Math.max(hourFee, economyFee);
return {
'fastestFee': fastestFee,
'halfHourFee': halfHourFee,
'hourFee': hourFee,
'economyFee': economyFee,
'minimumFee': minimumFee,
'fastestFee': this.roundToNearest(fastestFee, minIncrement),
'halfHourFee': this.roundToNearest(halfHourFee, minIncrement),
'hourFee': this.roundToNearest(hourFee, minIncrement),
'economyFee': this.roundToNearest(economyFee, minIncrement),
'minimumFee': this.roundToNearest(minimumFee, minIncrement),
};
}