mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-26 07:07:57 +00:00
core: fix removal of extra nonce using wrong type
This commit is contained in:
parent
3c2cad2d46
commit
f5ccfa4001
1 changed files with 1 additions and 1 deletions
|
@ -509,7 +509,7 @@ namespace cryptonote
|
||||||
|
|
||||||
std::string extra_nonce;
|
std::string extra_nonce;
|
||||||
set_encrypted_payment_id_to_tx_extra_nonce(extra_nonce, payment_id);
|
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))
|
if (!add_extra_nonce_to_tx_extra(tx.extra, extra_nonce))
|
||||||
{
|
{
|
||||||
LOG_ERROR("Failed to add encrypted payment id to tx extra");
|
LOG_ERROR("Failed to add encrypted payment id to tx extra");
|
||||||
|
|
Loading…
Reference in a new issue