mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 06:44:24 +01:00
lightningd: struct uncommitted_channel for opening channels.
Each peer can have one 'uncommitted' channel, which is in the process of opening. This is used for openingd, and then on return we convert it into a full-fledged struct channel and commit it into the database. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -2406,7 +2406,7 @@ class LightningDTests(BaseLightningDTests):
|
||||
l1.rpc.connect(l2.info['id'], 'localhost', l2.info['port'])
|
||||
|
||||
# We should get a message about reconnecting.
|
||||
l2.daemon.wait_for_log('Peer has reconnected, state OPENINGD')
|
||||
l2.daemon.wait_for_log('Peer reconnected, killing openingd')
|
||||
|
||||
# Should work fine.
|
||||
l1.rpc.fundchannel(l2.info['id'], 20000)
|
||||
|
||||
Reference in New Issue
Block a user