URI: 
       tfix test_lnpeer - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit fbf6af5d07691f35f0b5cd4c5705a0845cfa9cc4
   DIR parent 584e0a38aab5b978b4aa4bac414cf5b44eeb5b74
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Fri,  6 Mar 2020 12:40:42 +0100
       
       fix test_lnpeer
       
       Diffstat:
         M electrum/tests/test_lnpeer.py       |       5 ++++-
       
       1 file changed, 4 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/electrum/tests/test_lnpeer.py b/electrum/tests/test_lnpeer.py
       t@@ -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