diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-23 21:56:04 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-23 22:09:35 +0000 |
commit | df83ed74e487d6f828164bb9652681801abb439e (patch) | |
tree | 485ef5a7d3cc778ba98a4b63aa8272fd86f04561 /src/rpc/daemon_handler.cpp | |
parent | Merge pull request #5466 (diff) | |
download | monero-df83ed74e487d6f828164bb9652681801abb439e.tar.xz |
consensus: from v12, enforce >= 2 outputs
Diffstat (limited to '')
-rw-r--r-- | src/rpc/daemon_handler.cpp | 5 |
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"; |