aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-23 21:53:39 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-23 21:59:57 +0000
commitb386ae57251216fd01b16b1222b9cb4acadae68f (patch)
tree507816bb83260e6b475f17b9bd9aecc5889c1876 /src/wallet
parentMerge pull request #5466 (diff)
downloadmonero-b386ae57251216fd01b16b1222b9cb4acadae68f.tar.xz
wallet2: add missing "sanity check failed" reason message
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..79dae083f 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -221,6 +221,8 @@ namespace
add_reason(reason, "fee too low");
if (res.not_rct)
add_reason(reason, "tx is not ringct");
+ if (res.sanity_check_failed)
+ add_reason(reason, "tx sanity check failed");
if (res.not_relayed)
add_reason(reason, "tx was not relayed");
return reason;