This commit is contained in:
Daniel Cousens 2016-12-14 15:41:24 +11:00 committed by Daniel Cousens
parent 80762543e7
commit a793166eb8
3 changed files with 130 additions and 35 deletions

View file

@ -283,10 +283,10 @@ describe('TransactionBuilder', function () {
}
if (!sign.throws) {
txb.sign(index, keyPair, redeemScript, sign.hashType)
txb.sign(index, keyPair, redeemScript, sign.hashType, sign.value)
} else {
assert.throws(function () {
txb.sign(index, keyPair, redeemScript, sign.hashType)
txb.sign(index, keyPair, redeemScript, sign.hashType, sign.value)
}, new RegExp(f.exception))
}
})