mirror of
https://github.com/mempool/mempool.git
synced 2026-08-15 12:50:34 +02:00
round precise fee recommendations to 3.d.p
This commit is contained in:
parent
ee1a4ae6e2
commit
38c1924057
1 changed files with 5 additions and 5 deletions
|
|
@ -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),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue