wip
This commit is contained in:
parent
80762543e7
commit
a793166eb8
3 changed files with 130 additions and 35 deletions
|
@ -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))
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue