mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
plugin: wire JSON id for commands which caused hooks to fire.
Most obvious one is the "connect" hook. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -832,7 +832,7 @@ static void opening_got_offer(struct subd *openingd,
|
||||
}
|
||||
|
||||
tal_add_destructor2(openingd, openchannel_payload_remove_openingd, payload);
|
||||
plugin_hook_call_openchannel(openingd->ld, payload);
|
||||
plugin_hook_call_openchannel(openingd->ld, NULL, payload);
|
||||
}
|
||||
|
||||
static unsigned int openingd_msg(struct subd *openingd,
|
||||
|
||||
Reference in New Issue
Block a user