Browse Source

respond to Jonathan Underwood's comments

(cherry picked from commit 8126ca2)
hk-custom-address
Arik Sosman 7 years ago
parent
commit
5508e26469
  1. 4
      test/transaction_builder.js

4
test/transaction_builder.js

@ -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 txb = TransactionBuilder.fromTransaction(tx)
txb.inputs.forEach(function(i) {
txb.inputs.forEach(function (i) {
assert.strictEqual(i.prevOutType, 'scripthash')
assert.strictEqual(i.redeemScriptType, 'multisig')
assert.strictEqual(i.signType, 'multisig')

Loading…
Cancel
Save