Skip to content

Commit a056140

Browse files
authored
Merge pull request #62 from kallewoof/202010-style-cleanup
style cleanup
2 parents 608c521 + 41d66ff commit a056140

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

btcdeb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ int main(int argc, char* const* argv)
317317
if (instance.has_preamble) {
318318
if (verbose) btc_logf(
319319
"*** note: there is a for-clarity preamble\n\n"
320-
320+
321321
"This is a virtual script that btcdeb generates and presents to you so you can step through the validation process one step at a time. The input is simply the redeem script hash, whereas btcdeb presents it as a OP_DUP, OP_HASH160, <that hash>, OP_EQUALVERIFY script.\n"
322322
); else if (!quiet) btc_logf("note: there is a for-clarity preamble (use --verbose for details)\n");
323323
}

script/interpreter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,9 +1117,9 @@ bool StepScript(ScriptExecutionEnvironment& env, CScript::const_iterator& pc, CS
11171117
if ((flags & SCRIPT_VERIFY_NULLDUMMY) && stacktop(-1).size()) {
11181118
if (btcdeb_verbose) printf(
11191119
"\n* * * * * * *\n\n"
1120-
1120+
11211121
"Hint: with Segwit activation, the OP_CHECKMULTISIG extra argument must be set to the empty push value (0x). If you are experimenting with older scripts, you may run into a 'Dummy CHECKMULTISIG argument must be zero' error. To move past this, you need to modify the verification flags, disabling the NULLDUMMY flag specifically. I.e. call btcdeb again with -f\"-NULLDUMMY\"\n\n"
1122-
1122+
11231123
"* * * * * * *\n\n"
11241124
); else printf("Hint: with Segwit activation, the OP_CHECKMULTISIG extra argument must be empty (--verbose for details)\n");
11251125
return set_error(serror, SCRIPT_ERR_SIG_NULLDUMMY);

0 commit comments

Comments
 (0)