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
1 changed files with 2 additions and 0 deletions

View File

@ -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;