tlnbase: use 45000 feerate on regtest for eclair compatibility - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 601356f5d166ce6798fda5d040bb088c85b8e77d (DIR) parent 46cf18ce5f3867a6fa450d65fbf5923473ea75a3 (HTM) Author: Janus <ysangkok@gmail.com> Date: Fri, 12 Oct 2018 15:29:21 +0200 lnbase: use 45000 feerate on regtest for eclair compatibility Diffstat: M electrum/lnbase.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- (DIR) diff --git a/electrum/lnbase.py b/electrum/lnbase.py t@@ -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: