respond to Jonathan Underwood's comments
(cherry picked from commit 8126ca2)
This commit is contained in:
parent
8f9b3443d2
commit
5508e26469
1 changed files with 2 additions and 2 deletions
|
@ -125,10 +125,10 @@ describe('TransactionBuilder', function () {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
it('correctly classifies transaction inputs', function() {
|
it('correctly classifies transaction inputs', function () {
|
||||||
var tx = Transaction.fromHex(fixtures.valid.classification.hex)
|
var tx = Transaction.fromHex(fixtures.valid.classification.hex)
|
||||||
var txb = TransactionBuilder.fromTransaction(tx)
|
var txb = TransactionBuilder.fromTransaction(tx)
|
||||||
txb.inputs.forEach(function(i) {
|
txb.inputs.forEach(function (i) {
|
||||||
assert.strictEqual(i.prevOutType, 'scripthash')
|
assert.strictEqual(i.prevOutType, 'scripthash')
|
||||||
assert.strictEqual(i.redeemScriptType, 'multisig')
|
assert.strictEqual(i.redeemScriptType, 'multisig')
|
||||||
assert.strictEqual(i.signType, 'multisig')
|
assert.strictEqual(i.signType, 'multisig')
|
||||||
|
|
Loading…
Reference in a new issue