From 0e29b762317b6e91f0b3aeffba8f7f5a68ce56a8 Mon Sep 17 00:00:00 2001 From: Janus Date: Tue, 13 Feb 2018 11:48:45 +0100 Subject: [PATCH] lightning: fix lightning arguments for subcommands, again --- lib/commands.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/commands.py b/lib/commands.py index 07eb8fd9..556430bb 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -702,11 +702,11 @@ class Commands: class MyConsole: newResult = FakeQtSignal() self.wallet.lightning.setConsole(MyConsole()) - if args: - args = json_decode(args) + if lightningargs: + lightningargs = json_decode(lightningargs) else: - args = [] - lightning.lightningCall(self.wallet.lightning, lcmd)(*args) + lightningargs = [] + lightning.lightningCall(self.wallet.lightning, lcmd)(*lightningargs) return q.get(block=True, timeout=30) param_descriptions = {