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 committed by wowario
parent 650594ab63
commit 89c74b5710
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
1 changed files with 2 additions and 2 deletions

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;
} }