core: set missing verifivation_failed flag when rejecting a tx
This fixes two core rct tests
This commit is contained in:
parent
ea6549e9da
commit
3ae79a59e4
@ -532,6 +532,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)
|
||||||
|
Loading…
Reference in New Issue
Block a user