commit d3513f16a7f5ff967958cfa6b93d34929260a8b3
parent f37826a1018efabeb4c437209bb731217c36e9d4
Author: William Casarin <jb55@jb55.com>
Date: Wed, 9 Mar 2022 16:11:18 -0800
lnrpc: fix params
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnrpc.c b/lnrpc.c
@@ -53,7 +53,7 @@ int main(int argc, const char *argv[])
const char *host = argv[2];
const char *rune = argv[3];
const char *method = argv[4];
- const char *params = argc < 6 ? argv[5] : NULL;
+ const char *params = argc < 7 ? argv[5] : NULL;
if (!(ok = lnsocket_connect(ln, nodeid, host)))
goto done;