commit ecac8f2880efb014587aa6cafc079853142a3cef
parent 7db9a22d6354c72e0ca0f267866030cd6d35aca5
Author: Janus <ysangkok@gmail.com>
Date: Mon, 12 Nov 2018 18:15:48 +0100
tests/lnbase: stub on_channels_updated
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/electrum/tests/test_lnbase.py b/electrum/tests/test_lnbase.py
@@ -99,6 +99,9 @@ class MockLNWorker:
def save_channel(self, chan):
print("Ignoring channel save")
+ def on_channels_updated(self):
+ pass
+
get_invoice = LNWorker.get_invoice
_create_route_from_invoice = LNWorker._create_route_from_invoice
_check_invoice = staticmethod(LNWorker._check_invoice)