bip32 uses compressed K
authorThomasV <thomasv@gitorious>
Thu, 13 Mar 2014 15:56:53 +0000 (16:56 +0100)
committerThomasV <thomasv@gitorious>
Thu, 13 Mar 2014 15:56:53 +0000 (16:56 +0100)
lib/wallet.py

index a052b39..22b5000 100644 (file)
@@ -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)