Merge pull request #1642

3ae79a59 core: set missing verifivation_failed flag when rejecting a tx (moneromooo-monero)
ea6549e9 core_tests: decrease trace level from trace to debug (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-02-02 21:25:30 +02:00
commit c3eff820be
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -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);