rpc: adjust ring size error message now that too high is also possible

This commit is contained in:
moneromooo-monero 2018-10-27 11:15:32 +00:00
parent a5ca7f4fb5
commit 73e504c139
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -700,7 +700,7 @@ namespace cryptonote
res.status = "Failed"; res.status = "Failed";
res.reason = ""; res.reason = "";
if ((res.low_mixin = tvc.m_low_mixin)) if ((res.low_mixin = tvc.m_low_mixin))
add_reason(res.reason, "ring size too small"); add_reason(res.reason, "bad ring size");
if ((res.double_spend = tvc.m_double_spend)) if ((res.double_spend = tvc.m_double_spend))
add_reason(res.reason, "double spend"); add_reason(res.reason, "double spend");
if ((res.invalid_input = tvc.m_invalid_input)) if ((res.invalid_input = tvc.m_invalid_input))