1
0

fix test_lnpeer

This commit is contained in:
ThomasV
2020-03-06 12:40:42 +01:00
parent 584e0a38aa
commit fbf6af5d07

View File

@@ -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