commit f56fbb509f12a981bfac153931016185499b480c
parent bae36d658b24bd068377247ea9a44533b5e2d7f1
Author: Maran <maran.hidskes@gmail.com>
Date: Thu, 13 Mar 2014 18:26:19 +0100
Merge branch 'master' of ssh://github.com/spesmilo/electrum
Diffstat:
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/lib/network.py b/lib/network.py
@@ -7,18 +7,18 @@ from blockchain import Blockchain
DEFAULT_PORTS = {'t':'50001', 's':'50002', 'h':'8081', 'g':'8082'}
DEFAULT_SERVERS = {
- #'electrum.coinwallet.me': {'h': '8081', 's': '50002', 't': '50001', 'g': '8082'},
- 'electrum.hachre.de': {'h': '8081', 's': '50002', 't': '50001', 'g': '8082'},
- 'electrum.novit.ro': {'h': '8081', 's': '50002', 't': '50001', 'g': '8082'},
- 'electrum.stepkrav.pw': {'h': '8081', 's': '50002', 't': '50001', 'g': '8082'},
- #'ecdsa.org': {'h': '8081', 's': '50002', 't': '50001', 'g': '8082'},
- 'electrum.no-ip.org': {'h': '80', 's': '50002', 't': '50001', 'g': '443'},
- 'electrum.drollette.com': {'h': '5000', 's': '50002', 't': '50001', 'g': '8082'},
- 'electrum.random.re': {'h': '80', 's': '110', 't': '50001', 'g': '443'},
- 'btc.medoix.com': {'h': '8081', 's': '50002', 't': '50001', 'g': '8082'},
- 'electrum.stupidfoot.com': {'h': '8081', 's': '50002', 't': '50001', 'g': '8082'},
- #'electrum.pdmc.net': {'h': '8081', 's': '50002', 't': '50001', 'g': '8082'},
- 'electrum.be': {'h': '8081', 's': '50002', 't': '50001', 'g': '8082'}
+ 'ecdsa.org': DEFAULT_PORTS,
+ 'ecdsa.net': DEFAULT_PORTS,
+ 'electrum.hachre.de': DEFAULT_PORTS,
+ 'electrum.novit.ro': DEFAULT_PORTS,
+ 'electrum.coinwallet.me': DEFAULT_PORTS,
+ 'cube.l0g.in': DEFAULT_PORTS,
+ 'bitcoin.epicinet.net': DEFAULT_PORTS,
+ 'h.1209k.com': DEFAULT_PORTS,
+ 'electrum.electricnewyear.net': DEFAULT_PORTS,
+ 'erbium.sytes.net': DEFAULT_PORTS,
+ 'e2.pdmc.net':DEFAULT_PORTS,
+ 'electrum.thwg.org':DEFAULT_PORTS,
}
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -639,9 +639,9 @@ class NewWallet:
rs = self.rebase_sequence(account, sequence)
dd = []
for root, public_sequence in rs:
- c, K, _ = self.master_public_keys[root]
+ c, K, cK = self.master_public_keys[root]
s = '/' + '/'.join( map(lambda x:str(x), public_sequence) )
- dd.append( 'bip32(%s,%s,%s)'%(c,K, s) )
+ dd.append( 'bip32(%s,%s,%s)'%(c, cK, s) )
return '&'.join(dd)