lightning: fix lightning arguments for subcommands, again
This commit is contained in:
parent
40f8c6152e
commit
0e29b76231
@ -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 = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user