aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-08-14 15:26:55 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-08-14 15:26:55 -0500
commit2258551ef999c016b4d7404eb81598ed43e84410 (patch)
tree08bbba8e340849f2bc286fe76dc09deaabb3daa1 /src/rpc/core_rpc_server.cpp
parentMerge pull request #5478 (diff)
parentconsensus: from v12, enforce >= 2 outputs (diff)
downloadmonero-2258551ef999c016b4d7404eb81598ed43e84410.tar.xz
Merge pull request #5487
df83ed7 consensus: from v12, enforce >= 2 outputs (moneromooo-monero)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index dd7201623..d5d173ab2 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -864,6 +864,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)
{