Browse Source

tests/lnbase: stub on_channels_updated

regtest_lnd
Janus 6 years ago
committed by SomberNight
parent
commit
e36f239716
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  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