mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-30 03:04:21 +01:00
libplugin: don't expose the rpc_conn struct
This commit is contained in:
@@ -69,7 +69,7 @@ static struct command_result *json_autocleaninvoice(struct command *cmd,
|
||||
static void init(struct plugin *p,
|
||||
const char *buf UNUSED, const jsmntok_t *config UNUSED)
|
||||
{
|
||||
rpc = &p->rpc_conn;
|
||||
rpc = p->rpc_conn;
|
||||
|
||||
if (cycle_seconds) {
|
||||
plugin_log(p, LOG_INFORM, "autocleaning every %"PRIu64" seconds", cycle_seconds);
|
||||
|
||||
Reference in New Issue
Block a user