cleaned up OpenAlias messages in simplewallet

This commit is contained in:
Riccardo Spagni 2014-10-03 14:21:13 +02:00
parent 1663089b33
commit 2322a94427
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -929,11 +929,11 @@ bool simple_wallet::transfer(const std::vector<std::string> &args_)
std::string dnssec_str;
if (dnssec_ok)
{
dnssec_str = "DNSSEC validation PASSED!";
dnssec_str = "DNSSEC validation passed";
}
else
{
dnssec_str = "DNSSEC validation FAILED!";
dnssec_str = "WARNING: DNSSEC validation was unsuccessful, this address may not be correct!";
}
std::stringstream prompt;
prompt << "For URL: " << url
@ -947,13 +947,13 @@ bool simple_wallet::transfer(const std::vector<std::string> &args_)
std::string confirm_dns_ok = command_line::input_line(prompt.str());
if (confirm_dns_ok != "Y" && confirm_dns_ok != "y" && confirm_dns_ok != "Yes" && confirm_dns_ok != "yes")
{
fail_msg_writer() << "User terminated transfer request, disagreed with dns result from url: " << url;
fail_msg_writer() << "You have cancelled the transfer request";
return true;
}
}
else
{
fail_msg_writer() << "Failed to get a monero address from: " << local_args[i];
fail_msg_writer() << "Failed to get a Monero address from: " << local_args[i];
return true;
}
}
@ -963,7 +963,7 @@ bool simple_wallet::transfer(const std::vector<std::string> &args_)
}
else
{
fail_msg_writer() << "wrong address: " << local_args[i];
fail_msg_writer() << "Wrong address: " << local_args[i];
return true;
}
}