mirror of
https://github.com/monero-project/monero.git
synced 2026-01-01 23:40:03 -08:00
consensus: from v12, enforce >= 2 outputs
This commit is contained in:
@@ -343,6 +343,11 @@ namespace rpc
|
||||
if (!res.error_details.empty()) res.error_details += " and ";
|
||||
res.error_details = "tx is not ringct";
|
||||
}
|
||||
if (tvc.m_too_few_outputs)
|
||||
{
|
||||
if (!res.error_details.empty()) res.error_details += " and ";
|
||||
res.error_details = "too few outputs";
|
||||
}
|
||||
if (res.error_details.empty())
|
||||
{
|
||||
res.error_details = "an unknown issue was found with the transaction";
|
||||
|
||||
Reference in New Issue
Block a user