Browse Source

fix test_lnpeer

hard-fail-on-bad-server-string
ThomasV 5 years ago
parent
commit
fbf6af5d07
  1. 5
      electrum/tests/test_lnpeer.py

5
electrum/tests/test_lnpeer.py

@ -66,10 +66,13 @@ class MockNetwork:
def get_local_height(self):
return 0
async def try_broadcasting(self, tx, name):
async def broadcast_transaction(self, tx):
if self.tx_queue:
await self.tx_queue.put(tx)
async def try_broadcasting(self, tx, name):
self.broadcast_transaction(tx)
class MockWallet:
def set_label(self, x, y):
pass

Loading…
Cancel
Save