From d7cbbb553b268c9fefda6df8fbe12af31b9df38d Mon Sep 17 00:00:00 2001 From: junderw Date: Wed, 22 Aug 2018 14:41:41 +0900 Subject: [PATCH] Fix indent --- test/integration/csv.js | 46 ++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/test/integration/csv.js b/test/integration/csv.js index 91e4ceb..704ac60 100644 --- a/test/integration/csv.js +++ b/test/integration/csv.js @@ -42,29 +42,29 @@ describe('bitcoinjs-lib (transactions w/ CSV)', function () { // But after sequence2 time, aQ can sign for the output all by themself. function complexCsvOutput (aQ, bQ, cQ, dQ, sequence1, sequence2) { return bitcoin.script.compile([ - bitcoin.opcodes.OP_IF, - bitcoin.opcodes.OP_IF, - bitcoin.opcodes.OP_2, - bitcoin.opcodes.OP_ELSE, - bitcoin.script.number.encode(sequence1), - bitcoin.opcodes.OP_CHECKSEQUENCEVERIFY, - bitcoin.opcodes.OP_DROP, - aQ.publicKey, - bitcoin.opcodes.OP_CHECKSIGVERIFY, - bitcoin.opcodes.OP_1, - bitcoin.opcodes.OP_ENDIF, - bQ.publicKey, - cQ.publicKey, - dQ.publicKey, - bitcoin.opcodes.OP_3, - bitcoin.opcodes.OP_CHECKMULTISIG, - bitcoin.opcodes.OP_ELSE, - bitcoin.script.number.encode(sequence2), - bitcoin.opcodes.OP_CHECKSEQUENCEVERIFY, - bitcoin.opcodes.OP_DROP, - aQ.publicKey, - bitcoin.opcodes.OP_CHECKSIG, - bitcoin.opcodes.OP_ENDIF, + bitcoin.opcodes.OP_IF, + bitcoin.opcodes.OP_IF, + bitcoin.opcodes.OP_2, + bitcoin.opcodes.OP_ELSE, + bitcoin.script.number.encode(sequence1), + bitcoin.opcodes.OP_CHECKSEQUENCEVERIFY, + bitcoin.opcodes.OP_DROP, + aQ.publicKey, + bitcoin.opcodes.OP_CHECKSIGVERIFY, + bitcoin.opcodes.OP_1, + bitcoin.opcodes.OP_ENDIF, + bQ.publicKey, + cQ.publicKey, + dQ.publicKey, + bitcoin.opcodes.OP_3, + bitcoin.opcodes.OP_CHECKMULTISIG, + bitcoin.opcodes.OP_ELSE, + bitcoin.script.number.encode(sequence2), + bitcoin.opcodes.OP_CHECKSEQUENCEVERIFY, + bitcoin.opcodes.OP_DROP, + aQ.publicKey, + bitcoin.opcodes.OP_CHECKSIG, + bitcoin.opcodes.OP_ENDIF ]) }