core: set missing verifivation_failed flag when rejecting a tx

This fixes two core rct tests
This commit is contained in:
moneromooo-monero 2017-01-28 09:30:11 +00:00
parent ea6549e9da
commit 3ae79a59e4
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -532,6 +532,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)