aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/daemon_handler.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-23 21:56:04 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-23 22:09:35 +0000
commitdf83ed74e487d6f828164bb9652681801abb439e (patch)
tree485ef5a7d3cc778ba98a4b63aa8272fd86f04561 /src/rpc/daemon_handler.cpp
parentMerge pull request #5466 (diff)
downloadmonero-df83ed74e487d6f828164bb9652681801abb439e.tar.xz
consensus: from v12, enforce >= 2 outputs
Diffstat (limited to 'src/rpc/daemon_handler.cpp')
-rw-r--r--src/rpc/daemon_handler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rpc/daemon_handler.cpp b/src/rpc/daemon_handler.cpp
index 7c8953930..78a62d0b3 100644
--- a/src/rpc/daemon_handler.cpp
+++ b/src/rpc/daemon_handler.cpp
@@ -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";