aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2014-09-05 18:10:47 -0400
committerfluffypony <ric@spagni.net>2014-09-06 21:56:06 +0200
commit115f9523fa940ac702b5ac6cd72b94fabcc3ad5c (patch)
treeecbe5e166a492f2e0d78b94a5c1103d3cbc7a1f9 /src/cryptonote_core
parentOverride for block hashing for block 202612 (diff)
downloadmonero-115f9523fa940ac702b5ac6cd72b94fabcc3ad5c.tar.xz
hex_to_pod needs the destination as an arg, as opposed to it returning the pod
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/cryptonote_format_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_format_utils.cpp b/src/cryptonote_core/cryptonote_format_utils.cpp
index 8b9f42376..057d11fba 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);