mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
libplugin: pass a pointer to plugin to send_outreq
autoclean needs to send outreqs from a timer cb, hence with cmd == NULL.
This commit is contained in:
@@ -32,7 +32,7 @@ static struct command_result *do_clean(struct plugin *p)
|
||||
json_out_finished(params);
|
||||
|
||||
/* FIXME: delexpiredinvoice should be in our plugin too! */
|
||||
return send_outreq(NULL, "delexpiredinvoice", ignore, ignore, p,
|
||||
return send_outreq(p, NULL, "delexpiredinvoice", ignore, ignore, p,
|
||||
take(params));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user