aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/cryptonote_basic_impl.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-27 18:07:55 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-27 18:07:55 +0000
commitb3e8677c7045858f1ab1dea194442aaedd2c13ca (patch)
tree410d5e3bc4234381b607dd738d517cc070512903 /src/cryptonote_basic/cryptonote_basic_impl.cpp
parentMerge pull request #4721 (diff)
downloadmonero-b3e8677c7045858f1ab1dea194442aaedd2c13ca.tar.xz
cryptonote: use logging functions for errors, not std::cout
Diffstat (limited to 'src/cryptonote_basic/cryptonote_basic_impl.cpp')
-rw-r--r--src/cryptonote_basic/cryptonote_basic_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/cryptonote_basic_impl.cpp b/src/cryptonote_basic/cryptonote_basic_impl.cpp
index b18ef1c5c..c4e10851e 100644
--- a/src/cryptonote_basic/cryptonote_basic_impl.cpp
+++ b/src/cryptonote_basic/cryptonote_basic_impl.cpp
@@ -328,7 +328,7 @@ bool parse_hash256(const std::string str_hash, crypto::hash& hash)
bool res = epee::string_tools::parse_hexstr_to_binbuff(str_hash, buf);
if (!res || buf.size() != sizeof(crypto::hash))
{
- std::cout << "invalid hash format: <" << str_hash << '>' << std::endl;
+ MERROR("invalid hash format: " << str_hash);
return false;
}
else