Browse Source

sort pubkeys in multisig scripts

283
ThomasV 11 years ago
parent
commit
f522d6c36d
  1. 2
      lib/account.py

2
lib/account.py

@ -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):

Loading…
Cancel
Save