1
0

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:
Janus
2019-01-28 20:25:10 +01:00
committed by ThomasV
parent e6bd3959e0
commit d5ed4309bb
2 changed files with 2 additions and 1 deletions

View File

@@ -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,

View File

@@ -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,