forked from lthn/blockchain
fixed bug with m_own_asset_descriptors container not being reset after resync wallet
This commit is contained in:
parent
ba6b34c292
commit
7a9f54443b
2 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue