Merge pull request #372 from bitcoinjs/op0fix
TransactionBuilder multisig OP_0 fix
This commit is contained in:
commit
7a469f6620
5 changed files with 40 additions and 28 deletions
test
|
@ -202,8 +202,7 @@ describe('Scripts', function () {
|
|||
})
|
||||
|
||||
fixtures.invalid.multisigInput.forEach(function (f) {
|
||||
var pubKeys = f.pubKeys.map(ECPubKey.fromHex)
|
||||
var scriptPubKey = scripts.multisigOutput(pubKeys.length, pubKeys)
|
||||
var scriptPubKey = Script.fromASM(f.scriptPubKey)
|
||||
|
||||
it('throws on ' + f.exception, function () {
|
||||
var signatures = f.signatures.map(function (signature) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue