mirror of
https://github.com/monero-project/monero.git
synced 2024-12-27 16:09:24 -05:00
Merge pull request #4666
cf75ee72
blockchain: move two new verification errors to the verify category (moneromooo-monero)
This commit is contained in:
commit
a38299801f
@ -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