From da36003d0902454230421398611de6d03eac5dc0 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Fri, 9 May 2014 18:03:41 +1000 Subject: [PATCH] Script: remove sort requirement for multisig --- src/script.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/script.js b/src/script.js index b488e52..a5a4562 100644 --- a/src/script.js +++ b/src/script.js @@ -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) {