Skip to content

Commit

Permalink
fix test_lnpeer
Browse files Browse the repository at this point in the history
  • Loading branch information
ecdsa committed Mar 6, 2020
1 parent 584e0a3 commit fbf6af5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion electrum/tests/test_lnpeer.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,13 @@ def callback_lock(self):
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
Expand Down

0 comments on commit fbf6af5

Please sign in to comment.