1
0
Fork 0
forked from lthn/blockchain

fixed bug with m_own_asset_descriptors container not being reset after resync wallet

This commit is contained in:
cryptozoidberg 2023-10-28 19:25:31 +02:00
parent ba6b34c292
commit 7a9f54443b
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC
2 changed files with 3 additions and 2 deletions

View file

@ -246,8 +246,8 @@
#define WALLET_FILE_SERIALIZATION_VERSION 160
#define WALLET_FILE_LAST_SUPPORTED_VERSION 160
#else
#define WALLET_FILE_LAST_SUPPORTED_VERSION (CURRENCY_FORMATION_VERSION+73)
#define WALLET_FILE_SERIALIZATION_VERSION (CURRENCY_FORMATION_VERSION+73)
#define WALLET_FILE_LAST_SUPPORTED_VERSION (CURRENCY_FORMATION_VERSION+74)
#define WALLET_FILE_SERIALIZATION_VERSION (CURRENCY_FORMATION_VERSION+74)
#endif
#define CURRENT_MEMPOOL_ARCHIVE_VER (CURRENCY_FORMATION_VERSION+31)

View file

@ -2842,6 +2842,7 @@ bool wallet2::reset_all()
m_last_pow_block_h = 0;
m_current_wallet_file_size = 0;
m_custom_assets.clear();
m_own_asset_descriptors.clear();
return true;
}
//----------------------------------------------------------------------------------------------------