Script: remove sort requirement for multisig

This commit is contained in:
Daniel Cousens 2014-05-09 18:03:41 +10:00
parent de343b2093
commit da36003d09

View file

@ -295,7 +295,6 @@ Script.createP2SHScriptPubKey = function(hash) {
// m [pubKeys ...] n OP_CHECKMULTISIG
Script.createMultisigScriptPubKey = function(m, pubKeys) {
var script = new Script()
pubKeys = pubKeys.sort()
script.writeOp(Opcode.map.OP_1 + m - 1)
for (var i = 0; i < pubKeys.length; ++i) {