mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 16:44:20 +01:00
pytest: add notifications to tests.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -18,6 +18,7 @@ static struct command_result *json_helloworld(struct command *cmd,
|
||||
NULL))
|
||||
return command_param_failed();
|
||||
|
||||
plugin_notify_message(cmd, LOG_INFORM, "Notification from %s", "json_helloworld");
|
||||
if (!name)
|
||||
name = name_option ? name_option : tal_strdup(tmpctx, "world");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user