lightningd: add in support for closingd.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2017-07-04 11:23:35 +09:30
parent e5a8a7502c
commit a827d2b2bb
4 changed files with 260 additions and 5 deletions

View File

@@ -323,6 +323,11 @@ class LightningDTests(BaseLightningDTests):
l1.daemon.wait_for_log('-> CLOSINGD_SIGEXCHANGE')
l2.daemon.wait_for_log('-> CLOSINGD_SIGEXCHANGE')
# And should put closing into mempool.
l1.daemon.wait_for_log('sendrawtx exit 0')
l2.daemon.wait_for_log('sendrawtx exit 0')
assert l1.bitcoin.rpc.getmempoolinfo()['size'] == 1
def test_gossip_jsonrpc(self):
l1,l2 = self.connect()