Browse Source

tests/lnbase: stub on_channels_updated

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
Janus 6 years ago
committed by ThomasV
parent
commit
ecac8f2880
  1. 3
      electrum/tests/test_lnbase.py

3
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)

Loading…
Cancel
Save