diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-30 20:44:45 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-30 20:44:45 +0000 |
commit | f5ccfa4001f8c6a04c3648f35a0980ffd47526e7 (patch) | |
tree | 429262b1c3a6e6e2103eab0d5db01a84a1afe7a4 /src/cryptonote_core | |
parent | Revert "remove cn_deserialize" (diff) | |
download | monero-f5ccfa4001f8c6a04c3648f35a0980ffd47526e7.tar.xz |
core: fix removal of extra nonce using wrong type
Diffstat (limited to 'src/cryptonote_core')
-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 870e8f0d8..6d64a43cb 100644 --- a/src/cryptonote_core/cryptonote_format_utils.cpp +++ b/src/cryptonote_core/cryptonote_format_utils.cpp @@ -509,7 +509,7 @@ namespace cryptonote std::string extra_nonce; set_encrypted_payment_id_to_tx_extra_nonce(extra_nonce, payment_id); - remove_field_from_tx_extra(tx.extra, typeid(tx_extra_fields)); + remove_field_from_tx_extra(tx.extra, typeid(tx_extra_nonce)); if (!add_extra_nonce_to_tx_extra(tx.extra, extra_nonce)) { LOG_ERROR("Failed to add encrypted payment id to tx extra"); |