revert low max_htlc_value_in_flight_msat, fix test
spec does not mention that there can be an upper bound on max_htlc_value_in_flight_msat, so don't try to make any node happy that has a max limit on this.
This commit is contained in:
@@ -402,7 +402,7 @@ class Peer(PrintError):
|
||||
revocation_basepoint=keypair_generator(LnKeyFamily.REVOCATION_BASE),
|
||||
to_self_delay=9,
|
||||
dust_limit_sat=546,
|
||||
max_htlc_value_in_flight_msat=200000000,
|
||||
max_htlc_value_in_flight_msat=0xffffffffffffffff,
|
||||
max_accepted_htlcs=5,
|
||||
initial_msat=initial_msat,
|
||||
ctn=-1,
|
||||
|
||||
@@ -59,6 +59,7 @@ def create_channel_state(funding_txid, funding_index, funding_sat, local_feerate
|
||||
ctn = -1,
|
||||
next_htlc_id = 0,
|
||||
reserve_sat=0,
|
||||
htlc_minimum_msat=1,
|
||||
|
||||
next_per_commitment_point=nex,
|
||||
current_per_commitment_point=cur,
|
||||
|
||||
Reference in New Issue
Block a user