1
0
Fork 0
forked from lthn/blockchain

Revert "wallet: keep custom added assets while resetting history"

This reverts commit 5e0c84e735.
This commit is contained in:
sowle 2025-07-14 20:30:12 +03:00
parent f287916372
commit 6f8d727332
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -5252,9 +5252,7 @@ bool wallet2::reset_history()
auto tx_keys = m_tx_keys;
auto pending_key_images = m_pending_key_images;
crypto::hash genesis_id = m_chain.get_genesis();
auto custom_assets = m_custom_assets;
clear();
m_custom_assets = custom_assets;
m_chain.set_genesis(genesis_id);
m_pending_key_images = pending_key_images;
m_tx_keys = tx_keys;