script test fix
This commit is contained in:
parent
262a5d7189
commit
f6549bc570
|
@ -30,7 +30,6 @@ describe('Script', function() {
|
||||||
it('isP2SH should work', function() {
|
it('isP2SH should work', function() {
|
||||||
var addr = new Address('1J57QmkaQ6JohJoQyaUJwngJ2vTQ3C6gHi');
|
var addr = new Address('1J57QmkaQ6JohJoQyaUJwngJ2vTQ3C6gHi');
|
||||||
var script = Script.createPubKeyHashOut(addr.payload());
|
var script = Script.createPubKeyHashOut(addr.payload());
|
||||||
script.isP2SH.bind(script).should.not.throw(Error);
|
|
||||||
script.isP2SH().should.be.false;
|
script.isP2SH().should.be.false;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue