Skip to content

Commit 8b95d17

Browse files
committed
pytest: actually test channel_type when negotiating prviate channel.
Makes sure we don't break it! Signed-off-by: Rusty Russell <[email protected]>
1 parent ec9a663 commit 8b95d17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_opening.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,8 @@ def test_scid_alias_private(node_factory, bitcoind):
19991999
{'log-level': 'io'}])
20002000

20012001
l2.fundwallet(5000000)
2002-
l2.rpc.fundchannel(l3.info['id'], 'all', announce=False)
2002+
fc = l2.rpc.fundchannel(l3.info['id'], 'all', announce=False)
2003+
assert 'scid_alias/even' in fc['channel_type']['names']
20032004

20042005
bitcoind.generate_block(1, wait_for_mempool=1)
20052006
wait_for(lambda: only_one(l2.rpc.listpeerchannels(l3.info['id'])['channels'])['state'] == 'CHANNELD_NORMAL')

0 commit comments

Comments
 (0)