aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-24 22:41:40 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-24 22:41:40 +0200
commit581994b61c9b8b530629b2dbc2e7ddd3b30b12b4 (patch)
tree7e7fbd57c6fafa4176f975b85727ab94d14e2d09 /src/wallet/wallet2.cpp
parentMerge pull request #5485 (diff)
parenttx_sanity_check: relax uniqueness check a bit (diff)
downloadmonero-581994b61c9b8b530629b2dbc2e7ddd3b30b12b4.tar.xz
Merge pull request #5486
4be18df3 tx_sanity_check: relax uniqueness check a bit (moneromooo-monero) b386ae57 wallet2: add missing "sanity check failed" reason message (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.cpp')
-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 3d5f1bd0f..6554ef7d5 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;