Browse Source

Script: remove sort requirement for multisig

hk-custom-address
Daniel Cousens 11 years ago
parent
commit
da36003d09
  1. 1
      src/script.js

1
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) {

Loading…
Cancel
Save