scripts: enforce pubKeys as type ECPubKey

This commit is contained in:
Daniel Cousens 2014-12-23 15:30:14 +11:00
parent e42c497a3c
commit 0524ced984
2 changed files with 2 additions and 2 deletions

View file

@ -168,7 +168,7 @@ describe('Scripts', function() {
})
fixtures.invalid.multisigOutput.forEach(function(f) {
var pubKeys = f.pubKeys.map(function(p) { return new Buffer(p, 'hex') })
var pubKeys = f.pubKeys.map(ECPubKey.fromHex)
it('throws on ' + f.exception, function() {
assert.throws(function() {