diff --git a/electrum/tests/test_lnbase.py b/electrum/tests/test_lnbase.py index 1df6f3d36..0135569e2 100644 --- 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)