diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-11-06 21:33:52 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-11-06 21:33:52 +0200 |
commit | 148ac1a8988d9a7a4d090ad315eb3dc51a8b2934 (patch) | |
tree | 6f8addb0230cdbd896df12e342040b6d1004f301 | |
parent | Merge pull request #4743 (diff) | |
parent | cryptonote: use logging functions for errors, not std::cout (diff) | |
download | monero-148ac1a8988d9a7a4d090ad315eb3dc51a8b2934.tar.xz |
Merge pull request #4744
b3e8677c cryptonote: use logging functions for errors, not std::cout (moneromooo-monero)
-rw-r--r-- | src/cryptonote_basic/cryptonote_basic_impl.cpp | 2 |
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 |