consensus: from v12, enforce >= 2 outputs

This commit is contained in:
moneromooo-monero
2019-04-23 21:56:04 +00:00
parent 475481949a
commit df83ed74e4
8 changed files with 27 additions and 0 deletions

View File

@@ -875,6 +875,8 @@ namespace cryptonote
add_reason(reason, "fee too low");
if ((res.not_rct = tvc.m_not_rct))
add_reason(reason, "tx is not ringct");
if ((res.too_few_outputs = tvc.m_too_few_outputs))
add_reason(reason, "too few outputs");
const std::string punctuation = reason.empty() ? "" : ": ";
if (tvc.m_verifivation_failed)
{