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/wallet/wallet2.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/wallet/wallet2.cpp | 2 |
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) |