Skip to content

Commit f3a7ed4

Browse files
committed
Fix unused variable in sigopcount test
1 parent c8f2fb2 commit f3a7ed4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/sigopcount_tests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ ScriptError VerifyWithFlag(const CTransaction& output, const CMutableTransaction
7474
ScriptError error;
7575
CTransaction inputi(input);
7676
bool ret = VerifyScript(inputi.vin[0].scriptSig, output.vout[0].scriptPubKey, inputi.wit.vtxinwit.size() > 0 ? &inputi.wit.vtxinwit[0].scriptWitness : NULL, flags, TransactionSignatureChecker(&inputi, 0, output.vout[0].nValue), &error);
77+
BOOST_CHECK((ret == true) == (error == SCRIPT_ERR_OK));
7778

7879
return error;
7980
}

0 commit comments

Comments
 (0)