txb/tests: add solo SIGHASH_ALL fixes
This commit is contained in:
parent
2223e6170e
commit
a58c5b4f5b
3 changed files with 27 additions and 4 deletions
|
@ -231,6 +231,7 @@ describe('TransactionBuilder', function () {
|
|||
|
||||
it('throws if SIGHASH_ALL has been used to sign any existing scriptSigs', function () {
|
||||
txb.addInput(txHash, 0)
|
||||
txb.addOutput(scripts[0], 1000)
|
||||
txb.sign(0, keyPair)
|
||||
|
||||
assert.throws(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue