mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 07:48:52 +00:00
blockchain: move two new verification errors to the verify category
Lest we get people get scared again
This commit is contained in:
parent
5c85da5a73
commit
cf75ee722a
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user