blockchain: move two new verification errors to the verify category

Lest we get people get scared again
This commit is contained in:
moneromooo-monero 2018-10-19 21:10:19 +00:00
parent 5c85da5a73
commit cf75ee722a
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -2364,7 +2364,7 @@ bool Blockchain::check_tx_outputs(const transaction& tx, tx_verification_context
const bool bulletproof = rct::is_rct_bulletproof(tx.rct_signatures.type); const bool bulletproof = rct::is_rct_bulletproof(tx.rct_signatures.type);
if (bulletproof || !tx.rct_signatures.p.bulletproofs.empty()) if (bulletproof || !tx.rct_signatures.p.bulletproofs.empty())
{ {
MERROR("Bulletproofs are not allowed before v8"); MERROR_VER("Bulletproofs are not allowed before v8");
tvc.m_invalid_output = true; tvc.m_invalid_output = true;
return false; return false;
} }
@ -2377,7 +2377,7 @@ bool Blockchain::check_tx_outputs(const transaction& tx, tx_verification_context
const bool borromean = rct::is_rct_borromean(tx.rct_signatures.type); const bool borromean = rct::is_rct_borromean(tx.rct_signatures.type);
if (borromean) if (borromean)
{ {
MERROR("Borromean range proofs are not allowed after v8"); MERROR_VER("Borromean range proofs are not allowed after v8");
tvc.m_invalid_output = true; tvc.m_invalid_output = true;
return false; return false;
} }