mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 23:42:24 +00:00
wallet2: fix the logged number of detached transfers
This commit is contained in:
parent
4233d88341
commit
635401b077
1 changed files with 1 additions and 0 deletions
|
@ -3480,6 +3480,7 @@ void wallet2::detach_blockchain(uint64_t height, std::map<std::pair<uint64_t, ui
|
|||
THROW_WALLET_EXCEPTION_IF(it_pk == m_pub_keys.end(), error::wallet_internal_error, "public key not found");
|
||||
m_pub_keys.erase(it_pk);
|
||||
}
|
||||
transfers_detached = std::distance(it, m_transfers.end());
|
||||
m_transfers.erase(it, m_transfers.end());
|
||||
|
||||
size_t blocks_detached = m_blockchain.size() - height;
|
||||
|
|
Loading…
Reference in a new issue