URI: 
       tfix cache with h2addr - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 031b911dce818c4c005663e770b4784234bc5590
   DIR parent 34628533fb5310d9ae78d54e53cbdc7c095c8ad5
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Sat, 30 Sep 2017 13:01:33 +0200
       
       fix cache with h2addr
       
       Diffstat:
         M lib/network.py                      |       7 ++++---
       
       1 file changed, 4 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/lib/network.py b/lib/network.py
       t@@ -619,10 +619,11 @@ class Network(util.DaemonThread):
        
            def overload_cb(self, callback):
                def cb2(x):
       -            p = x.pop('params')
       +            x2 = x.copy()
       +            p = x2.pop('params')
                    addr = self.h2addr[p[0]]
       -            x['params'] = [addr]
       -            callback(x)
       +            x2['params'] = [addr]
       +            callback(x2)
                return cb2
        
            def subscribe_to_addresses(self, addresses, callback):