1
0

make on_update_add_htlc async

This commit is contained in:
ThomasV
2018-10-18 12:41:47 +02:00
parent 3ac9858d59
commit 095de2dd22
2 changed files with 26 additions and 29 deletions

View File

@@ -10,6 +10,7 @@ from numbers import Real
from copy import deepcopy
from . import util
from . import constants
from .util import (user_dir, make_dir,
NoDynamicFeeEstimates, format_fee_satoshis, quantize_feerate)
from .i18n import _
@@ -509,6 +510,8 @@ class SimpleConfig(Logger):
fee_level: float between 0.0 and 1.0, representing fee slider position
"""
if constants.net is constants.BitcoinRegtest:
return 45000
if dyn is None:
dyn = self.is_dynfee()
if mempool is None: