mirror of
https://github.com/monero-project/monero.git
synced 2026-01-12 04:55:44 -08:00
a few minor (but easy) performance tweaks
Found by codacy.com
This commit is contained in:
@@ -322,7 +322,7 @@ namespace cryptonote {
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------
|
||||
bool parse_hash256(const std::string str_hash, crypto::hash& hash)
|
||||
bool parse_hash256(const std::string &str_hash, crypto::hash& hash)
|
||||
{
|
||||
std::string buf;
|
||||
bool res = epee::string_tools::parse_hexstr_to_binbuff(str_hash, buf);
|
||||
|
||||
Reference in New Issue
Block a user