fix test_lnpeer
This commit is contained in:
@@ -66,10 +66,13 @@ class MockNetwork:
|
|||||||
def get_local_height(self):
|
def get_local_height(self):
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
async def try_broadcasting(self, tx, name):
|
async def broadcast_transaction(self, tx):
|
||||||
if self.tx_queue:
|
if self.tx_queue:
|
||||||
await self.tx_queue.put(tx)
|
await self.tx_queue.put(tx)
|
||||||
|
|
||||||
|
async def try_broadcasting(self, tx, name):
|
||||||
|
self.broadcast_transaction(tx)
|
||||||
|
|
||||||
class MockWallet:
|
class MockWallet:
|
||||||
def set_label(self, x, y):
|
def set_label(self, x, y):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user