Browse Source
lnbase: use 45000 feerate on regtest for eclair compatibility
regtest_lnd
Janus
6 years ago
committed by
SomberNight
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
2 additions and
0 deletions
-
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: |
|
|
|