mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-05 07:14:36 +01:00
pylightning: Add new listtransactions command
[ FIXUP: Uninitialized var response used as context, changed to cmd --RR ]
This commit is contained in:
committed by
Rusty Russell
parent
86b5b84efe
commit
83f2ccd9fd
@@ -620,6 +620,12 @@ class LightningRpc(UnixDomainSocketRpc):
|
||||
"""
|
||||
return self.call("listfunds")
|
||||
|
||||
def listtransactions(self):
|
||||
"""
|
||||
Show wallet history
|
||||
"""
|
||||
return self.call("listtransactions")
|
||||
|
||||
def listinvoices(self, label=None):
|
||||
"""
|
||||
Show invoice {label} (or all, if no {label))
|
||||
|
||||
Reference in New Issue
Block a user