SomberNight
5 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
1 deletions
-
electrum/lnutil.py
|
|
@ -107,7 +107,7 @@ class Config(StoredObject): |
|
|
|
raise Exception(f"max_accepted_htlcs too high: {self.max_accepted_htlcs}") |
|
|
|
if self.to_self_delay > MAXIMUM_REMOTE_TO_SELF_DELAY_ACCEPTED: |
|
|
|
raise Exception(f"to_self_delay too high: {self.to_self_delay} > {MAXIMUM_REMOTE_TO_SELF_DELAY_ACCEPTED}") |
|
|
|
if self.max_htlc_value_in_flight_msat < min(funding_sat, 100_000_000): |
|
|
|
if self.max_htlc_value_in_flight_msat < min(1000 * funding_sat, 100_000_000): |
|
|
|
raise Exception(f"max_htlc_value_in_flight_msat is too small: {self.max_htlc_value_in_flight_msat}") |
|
|
|
|
|
|
|
|
|
|
|