From 83f2ccd9fd7128f5cacd18e3e67383fb5c9a1ea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Tim=C3=B3n?= Date: Sat, 22 Jun 2019 02:36:29 +0200 Subject: [PATCH] pylightning: Add new listtransactions command [ FIXUP: Uninitialized var response used as context, changed to cmd --RR ] --- contrib/pylightning/lightning/lightning.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/pylightning/lightning/lightning.py b/contrib/pylightning/lightning/lightning.py index aa5d3c733..23122728b 100644 --- a/contrib/pylightning/lightning/lightning.py +++ b/contrib/pylightning/lightning/lightning.py @@ -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))