aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
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/wallet
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/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 f25e9ad97..e44fea7d7 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -217,6 +217,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)