commit 601356f5d166ce6798fda5d040bb088c85b8e77d
parent 46cf18ce5f3867a6fa450d65fbf5923473ea75a3
Author: Janus <ysangkok@gmail.com>
Date: Fri, 12 Oct 2018 15:29:21 +0200
lnbase: use 45000 feerate on regtest for eclair compatibility
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/electrum/lnbase.py b/electrum/lnbase.py
@@ -1225,6 +1225,8 @@ class Peer(PrintError):
await self.update_channel(chan, update)
def current_feerate_per_kw(self):
+ if constants.net is constants.BitcoinRegtest:
+ return 45000
from .simple_config import FEE_LN_ETA_TARGET, FEERATE_FALLBACK_STATIC_FEE
feerate_per_kvbyte = self.network.config.eta_target_to_fee(FEE_LN_ETA_TARGET)
if feerate_per_kvbyte is None: