URI: 
       tsort pubkeys in multisig scripts - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit f522d6c36dd06bddefc508ef6f8ef3198a8b96d7
   DIR parent 53b872acdfa55bf1ac9956bcd0e78c3263a625a3
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Wed,  2 Apr 2014 14:04:39 +0200
       
       sort pubkeys in multisig scripts
       
       Diffstat:
         M lib/account.py                      |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/lib/account.py b/lib/account.py
       t@@ -188,7 +188,7 @@ class BIP32_Account_2of2(BIP32_Account):
                return cK.encode('hex')
        
            def redeem_script(self, sequence):
       -        pubkeys = self.get_pubkeys(sequence)
       +        pubkeys = sorted(self.get_pubkeys(sequence))
                return Transaction.multisig_script(pubkeys, 2)
        
            def get_address(self, for_change, n):