mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix test_lnchan
This commit is contained in:
parent
fde9f91902
commit
7e34554d1e
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||||
|
|
Loading…
Add table
Reference in a new issue