From 115f9523fa940ac702b5ac6cd72b94fabcc3ad5c Mon Sep 17 00:00:00 2001 From: Thomas Winget Date: Fri, 5 Sep 2014 18:10:47 -0400 Subject: [PATCH] hex_to_pod needs the destination as an arg, as opposed to it returning the pod --- src/cryptonote_core/cryptonote_format_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptonote_core/cryptonote_format_utils.cpp b/src/cryptonote_core/cryptonote_format_utils.cpp index 8b9f4237..057d11fb 100644 --- a/src/cryptonote_core/cryptonote_format_utils.cpp +++ b/src/cryptonote_core/cryptonote_format_utils.cpp @@ -635,7 +635,7 @@ namespace cryptonote if (string_tools::pod_to_hex(block_blob_hash) == correct_blob_hash_202612) { - res = string_tools::hex_to_pod(existing_block_id_202612); + string_tools::hex_to_pod(existing_block_id_202612, res); return true; } return get_object_hash(get_block_hashing_blob(b), res);