cln-plugin: Make hooks asynchronous

This commit is contained in:
Christian Decker
2022-02-25 14:36:39 +01:00
committed by Rusty Russell
parent a7ef38732f
commit af4eed3787
3 changed files with 19 additions and 12 deletions

View File

@@ -55,5 +55,5 @@ def test_plugin_start(node_factory):
assert l1.rpc.testmethod() == "Hello"
l1.connect(l2)
#l1.daemon.wait_for_log(r'Got a connect hook call')
l1.daemon.wait_for_log(r'Got a connect hook call')
l1.daemon.wait_for_log(r'Got a connect notification')