mirror of
https://github.com/monero-project/monero.git
synced 2026-01-11 20:45:37 -08:00
Merge pull request #4894
aee7a4e3wallet_rpc_server: do not use RPC data if the call failed (moneromooo-monero)1a0733e5windows_service: fix memory leak (moneromooo-monero)0dac3c64unit_tests: do not rethrow a copy of an exception (moneromooo-monero)5d9915abcryptonote: fix get_unit for non default settings (moneromooo-monero)d4f50cb1remove some unused code (moneromooo-monero)61163971a few minor (but easy) performance tweaks (moneromooo-monero)30023074tests: slow_memmem now returns size_t (moneromooo-monero)
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