From ee63a04975f4137aaf941befe54a5e4bb2bcfd61 Mon Sep 17 00:00:00 2001 From: Dominique Padiou <5765435+dpad85@users.noreply.github.com> Date: Tue, 19 Dec 2023 19:31:14 +0100 Subject: [PATCH] (android) Increase feerate used for liquidity --- .../android/payments/liquidity/RequestLiquidityViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phoenix-android/src/main/kotlin/fr/acinq/phoenix/android/payments/liquidity/RequestLiquidityViewModel.kt b/phoenix-android/src/main/kotlin/fr/acinq/phoenix/android/payments/liquidity/RequestLiquidityViewModel.kt index 6661880d8..b8fafce00 100644 --- a/phoenix-android/src/main/kotlin/fr/acinq/phoenix/android/payments/liquidity/RequestLiquidityViewModel.kt +++ b/phoenix-android/src/main/kotlin/fr/acinq/phoenix/android/payments/liquidity/RequestLiquidityViewModel.kt @@ -63,7 +63,7 @@ class RequestLiquidityViewModel(val peerManager: PeerManager, val appConfigManag state.value = RequestLiquidityState.Error.Thrown(e) }) { val peer = peerManager.getPeer() - val feerate = appConfigManager.mempoolFeerate.filterNotNull().first().economy + val feerate = appConfigManager.mempoolFeerate.filterNotNull().first().hour peer.estimateFeeForInboundLiquidity( amount = amount, targetFeerate = FeeratePerKw(feerate),