mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
lnbase: use 45000 feerate on regtest for eclair compatibility
This commit is contained in:
parent
97c9a095a4
commit
b21fb16803
1 changed files with 2 additions and 0 deletions
|
@ -1225,6 +1225,8 @@ class Peer(PrintError):
|
||||||
await self.update_channel(chan, update)
|
await self.update_channel(chan, update)
|
||||||
|
|
||||||
def current_feerate_per_kw(self):
|
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
|
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)
|
feerate_per_kvbyte = self.network.config.eta_target_to_fee(FEE_LN_ETA_TARGET)
|
||||||
if feerate_per_kvbyte is None:
|
if feerate_per_kvbyte is None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue