diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-08-14 15:26:55 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-08-14 15:26:55 -0500 |
| commit | 2258551ef999c016b4d7404eb81598ed43e84410 (patch) | |
| tree | 08bbba8e340849f2bc286fe76dc09deaabb3daa1 /src/rpc/daemon_handler.cpp | |
| parent | dd3b5ecb98aea5440da6059abc7060e1c45c7621 (diff) | |
| parent | df83ed74e487d6f828164bb9652681801abb439e (diff) | |
| download | monzero-core-2258551ef999c016b4d7404eb81598ed43e84410.tar.gz monzero-core-2258551ef999c016b4d7404eb81598ed43e84410.tar.xz monzero-core-2258551ef999c016b4d7404eb81598ed43e84410.zip | |
Merge pull request #5487
df83ed7 consensus: from v12, enforce >= 2 outputs (moneromooo-monero)
Diffstat (limited to 'src/rpc/daemon_handler.cpp')
| -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 612b2cab6..890380dc8 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"; |
