floor rates and priority.
This commit is contained in:
parent
aba92e4a7f
commit
6a4fce383e
@ -572,7 +572,7 @@ PolicyEstimator.prototype.estimateFee = function estimateFee(target, smart) {
|
||||
if (rate < 0)
|
||||
return 0;
|
||||
|
||||
return rate;
|
||||
return Math.floor(rate);
|
||||
}
|
||||
|
||||
rate = -1;
|
||||
@ -591,7 +591,7 @@ PolicyEstimator.prototype.estimateFee = function estimateFee(target, smart) {
|
||||
if (rate < 0)
|
||||
return 0;
|
||||
|
||||
return rate;
|
||||
return Math.floor(rate);
|
||||
};
|
||||
|
||||
/**
|
||||
@ -617,7 +617,7 @@ PolicyEstimator.prototype.estimatePriority = function estimatePriority(target, s
|
||||
priority = this.priStats.estimateMedian(
|
||||
target, SUFFICIENT_PRITXS, MIN_SUCCESS_PCT,
|
||||
true, this.bestHeight);
|
||||
return priority;
|
||||
return Math.floor(priority);
|
||||
}
|
||||
|
||||
minPoolFee = this.network.minRelay;
|
||||
@ -636,7 +636,7 @@ PolicyEstimator.prototype.estimatePriority = function estimatePriority(target, s
|
||||
if (priority < 0)
|
||||
return 0;
|
||||
|
||||
return priority;
|
||||
return Math.floor(priority);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user