core: set missing verifivation_failed flag when rejecting a tx

This fixes two core rct tests
pull/95/head
moneromooo-monero 7 years ago
parent ea6549e9da
commit 3ae79a59e4
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

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

Loading…
Cancel
Save