diff options
author | Riccardo Spagni <ric@spagni.net> | 2014-10-03 14:21:13 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-10-03 14:21:13 +0200 |
commit | 2322a9442799dcb97afcacc978472080da820d95 (patch) | |
tree | 5db03eb2210dbeb4c025dc3082833bbafd84a9e9 /src | |
parent | MoneroPulse log wording tweaks (diff) | |
download | monero-2322a9442799dcb97afcacc978472080da820d95.tar.xz |
cleaned up OpenAlias messages in simplewallet
Diffstat (limited to '')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index ef93a17b6..25a11d310 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -929,15 +929,15 @@ 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 - << "," << dnssec_str << std::endl + << ", " << dnssec_str << std::endl << " Monero Address = " << addresses_from_dns[0] << std::endl << "Is this OK? (Y/n) " @@ -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; } } |