URI: 
       tupdate get_history script - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 61b69f38568aafcb17db711c92ec80e2eea21443
   DIR parent 515879968907ff55b06c9e859172979e88faffcd
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Wed, 29 Nov 2017 10:12:47 +0100
       
       update get_history script
       
       Diffstat:
         M scripts/get_history                 |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/scripts/get_history b/scripts/get_history
       t@@ -3,6 +3,7 @@
        import sys
        from electrum import Network
        from electrum.util import json_encode, print_msg
       +from electrum import bitcoin
        
        try:
            addr = sys.argv[1]
       t@@ -12,5 +13,6 @@ except Exception:
        
        n = Network()
        n.start()
       -h = n.synchronous_get(('blockchain.address.get_history',[addr]))
       +_hash = bitcoin.address_to_scripthash(addr)
       +h = n.synchronous_get(('blockchain.scripthash.get_history',[_hash]))
        print_msg(json_encode(h))