aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
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/wallet
parentMerge pull request #5466 (diff)
downloadmonero-df83ed74e487d6f828164bb9652681801abb439e.tar.xz
consensus: from v12, enforce >= 2 outputs
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 831166d5f..c2f75083a 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -213,6 +213,8 @@ namespace
add_reason(reason, "invalid input");
if (res.invalid_output)
add_reason(reason, "invalid output");
+ if (res.too_few_outputs)
+ add_reason(reason, "too few outputs");
if (res.too_big)
add_reason(reason, "too big");
if (res.overspend)