mirror of
https://codeberg.org/nahuhh/wownero
synced 2026-03-05 06:07:35 -05: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