mirror of
https://github.com/monero-project/monero.git
synced 2025-08-03 07:36:12 -04:00
a few minor (but easy) performance tweaks
Found by codacy.com
This commit is contained in:
parent
3002307418
commit
611639710d
11 changed files with 21 additions and 21 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue