mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
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:
commit
c3eff820be
2 changed files with 2 additions and 1 deletions
|
@ -531,6 +531,7 @@ namespace cryptonote
|
||||||
if (rv.outPk.size() != tx.vout.size())
|
if (rv.outPk.size() != tx.vout.size())
|
||||||
{
|
{
|
||||||
LOG_PRINT_L1("WRONG TRANSACTION BLOB, Bad outPk size in tx " << tx_hash << ", rejected");
|
LOG_PRINT_L1("WRONG TRANSACTION BLOB, Bad outPk size in tx " << tx_hash << ", rejected");
|
||||||
|
tvc.m_verifivation_failed = true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
for (size_t n = 0; n < tx.rct_signatures.outPk.size(); ++n)
|
for (size_t n = 0; n < tx.rct_signatures.outPk.size(); ++n)
|
||||||
|
|
|
@ -51,7 +51,7 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
//set up logging options
|
//set up logging options
|
||||||
mlog_configure(mlog_get_default_log_path("core_tests.log"), true);
|
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");
|
po::options_description desc_options("Allowed options");
|
||||||
command_line::add_arg(desc_options, command_line::arg_help);
|
command_line::add_arg(desc_options, command_line::arg_help);
|
||||||
|
|
Loading…
Reference in a new issue