diff options
-rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 1 | ||||
-rw-r--r-- | tests/core_tests/chaingen_main.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index ef473cfba..5ddedd6fd 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -531,6 +531,7 @@ namespace cryptonote if (rv.outPk.size() != tx.vout.size()) { LOG_PRINT_L1("WRONG TRANSACTION BLOB, Bad outPk size in tx " << tx_hash << ", rejected"); + tvc.m_verifivation_failed = true; return false; } for (size_t n = 0; n < tx.rct_signatures.outPk.size(); ++n) diff --git a/tests/core_tests/chaingen_main.cpp b/tests/core_tests/chaingen_main.cpp index 557e3f07c..5851d9c6a 100644 --- a/tests/core_tests/chaingen_main.cpp +++ b/tests/core_tests/chaingen_main.cpp @@ -51,7 +51,7 @@ int main(int argc, char* argv[]) //set up logging options mlog_configure(mlog_get_default_log_path("core_tests.log"), true); - mlog_set_log_level(3); + mlog_set_log_level(2); po::options_description desc_options("Allowed options"); command_line::add_arg(desc_options, command_line::arg_help); |