Reduce mempool fee suggestion from high to medium priority

This reverts commit 087e160f6b.
This commit is contained in:
wiz 2021-04-28 04:14:34 +09:00
parent 05cc96ec68
commit 938e9b29ab
No known key found for this signature in database
GPG key ID: A394E332255A6173

View file

@ -91,7 +91,7 @@ abstract class MempoolFeeRateProvider extends FeeRateProvider {
private FeeRate getEstimatedFeeRate() {
Set<Map.Entry<String, Long>> feeRatePredictions = getFeeRatePredictions();
long estimatedFeeRate = feeRatePredictions.stream()
.filter(p -> p.getKey().equalsIgnoreCase("fastestFee"))
.filter(p -> p.getKey().equalsIgnoreCase("halfHourFee"))
.map(Map.Entry::getValue)
.findFirst()
.map(r -> Math.max(r, MIN_FEE_RATE))