plugin: Added .params.configuration to init call

This tells the plugin both the `lightning-dir` as well as the
`rpc-filename` to use to talk to `lightningd`. Prior to this they'd
had to guess.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker
2018-12-06 12:30:10 +01:00
parent 5b6bb7c571
commit be7674ed6c
5 changed files with 14 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ def json_getmanifest(request):
}
def json_init(request, options):
def json_init(request, options, configuration):
"""The main daemon is telling us the relevant cli options
"""
global greeting