mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 21:03:28 +01:00
Merge pull request #6013
635401b
wallet2: fix the logged number of detached transfers (moneromooo-monero)
This commit is contained in:
commit
59439f8113
@ -3524,6 +3524,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 New Issue
Block a user