git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
53b872a
)
sort pubkeys in multisig scripts
author
ThomasV
<thomasv@gitorious>
Wed, 2 Apr 2014 12:04:39 +0000 (14:04 +0200)
committer
ThomasV
<thomasv@gitorious>
Wed, 2 Apr 2014 12:04:39 +0000 (14:04 +0200)
lib/account.py
patch
|
blob
|
history
diff --git
a/lib/account.py
b/lib/account.py
index
cfba812
..
19a6b21
100644
(file)
--- a/
lib/account.py
+++ b/
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):