Prevent use of uninitialized ignoredAddresses

This commit is contained in:
Jonathan "Duke" Leto
2019-03-09 07:50:53 -08:00
parent 21c8a023e7
commit 5c66b810d3

View File

@@ -441,7 +441,7 @@ uint32_t komodo_segid32(char *coinaddr);
UniValue CBlockTreeDB::Snapshot(int top)
{
int64_t total = 0; int64_t totalAddresses = 0; std::string address;
int64_t utxos = 0; int64_t ignoredAddresses;
int64_t utxos = 0; int64_t ignoredAddresses = 0;
boost::scoped_ptr<CDBIterator> iter(NewIterator());
std::map <std::string, CAmount> addressAmounts;
std::vector <std::pair<CAmount, std::string>> vaddr;