diff options
| author | Thomas Winget <tewinget@gmail.com> | 2014-09-05 18:10:47 -0400 |
|---|---|---|
| committer | fluffypony <ric@spagni.net> | 2014-09-06 21:56:06 +0200 |
| commit | 115f9523fa940ac702b5ac6cd72b94fabcc3ad5c (patch) | |
| tree | ecbe5e166a492f2e0d78b94a5c1103d3cbc7a1f9 | |
| parent | a544603a7b449026b49da48a4f323af25d2f2219 (diff) | |
| download | monzero-core-115f9523fa940ac702b5ac6cd72b94fabcc3ad5c.tar.gz monzero-core-115f9523fa940ac702b5ac6cd72b94fabcc3ad5c.tar.xz monzero-core-115f9523fa940ac702b5ac6cd72b94fabcc3ad5c.zip | |
hex_to_pod needs the destination as an arg, as opposed to it returning the pod
| -rw-r--r-- | src/cryptonote_core/cryptonote_format_utils.cpp | 2 |
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); |
