diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 163fdb24..51cfb030 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -3145,6 +3145,7 @@ bool wallet2::balance(std::unordered_map& balances, uint64_t& mined) const { load_whitelisted_tokens_if_not_loaded(); + balances.clear(); std::unordered_map balances_map; this->balance(balances_map, mined); for (const auto& item : balances_map)