fix test_lnchan
This commit is contained in:
@@ -128,9 +128,9 @@ def create_test_channels(feerate=6000, local=None, remote=None):
|
|||||||
|
|
||||||
alice, bob = \
|
alice, bob = \
|
||||||
lnchan.Channel(
|
lnchan.Channel(
|
||||||
create_channel_state(funding_txid, funding_index, funding_sat, feerate, True, local_amount, remote_amount, alice_privkeys, bob_pubkeys, alice_seed, bob_cur, bob_next, b"\x02"*33, l_dust=200, r_dust=1300, l_csv=5, r_csv=4), "alice"), \
|
create_channel_state(funding_txid, funding_index, funding_sat, feerate, True, local_amount, remote_amount, alice_privkeys, bob_pubkeys, alice_seed, bob_cur, bob_next, b"\x02"*33, l_dust=200, r_dust=1300, l_csv=5, r_csv=4), name="alice"), \
|
||||||
lnchan.Channel(
|
lnchan.Channel(
|
||||||
create_channel_state(funding_txid, funding_index, funding_sat, feerate, False, remote_amount, local_amount, bob_privkeys, alice_pubkeys, bob_seed, alice_cur, alice_next, b"\x01"*33, l_dust=1300, r_dust=200, l_csv=4, r_csv=5), "bob")
|
create_channel_state(funding_txid, funding_index, funding_sat, feerate, False, remote_amount, local_amount, bob_privkeys, alice_pubkeys, bob_seed, alice_cur, alice_next, b"\x01"*33, l_dust=1300, r_dust=200, l_csv=4, r_csv=5), name="bob")
|
||||||
|
|
||||||
alice.set_state('OPEN')
|
alice.set_state('OPEN')
|
||||||
bob.set_state('OPEN')
|
bob.set_state('OPEN')
|
||||||
|
|||||||
Reference in New Issue
Block a user