wallet2: add missing "sanity check failed" reason message

This commit is contained in:
moneromooo-monero 2019-04-23 21:53:39 +00:00
parent 475481949a
commit b386ae5725
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -221,6 +221,8 @@ namespace
add_reason(reason, "fee too low"); add_reason(reason, "fee too low");
if (res.not_rct) if (res.not_rct)
add_reason(reason, "tx is not ringct"); add_reason(reason, "tx is not ringct");
if (res.sanity_check_failed)
add_reason(reason, "tx sanity check failed");
if (res.not_relayed) if (res.not_relayed)
add_reason(reason, "tx was not relayed"); add_reason(reason, "tx was not relayed");
return reason; return reason;