tests: fix standard styling
This commit is contained in:
parent
69eb58c783
commit
a29761cc8c
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ describe('TransactionBuilder', function () {
|
||||||
var scriptSig = tx.ins[i].script
|
var scriptSig = tx.ins[i].script
|
||||||
|
|
||||||
// ignore OP_0 on the front, ignore redeemScript
|
// ignore OP_0 on the front, ignore redeemScript
|
||||||
var signatures = scriptSig.chunks.slice(1, -1).filter(function(x) { return x !== ops.OP_0 })
|
var signatures = scriptSig.chunks.slice(1, -1).filter(function (x) { return x !== ops.OP_0 })
|
||||||
|
|
||||||
// rebuild/replace the scriptSig without them
|
// rebuild/replace the scriptSig without them
|
||||||
var replacement = scripts.scriptHashInput(scripts.multisigInput(signatures), redeemScript)
|
var replacement = scripts.scriptHashInput(scripts.multisigInput(signatures), redeemScript)
|
||||||
|
|
Loading…
Add table
Reference in a new issue