This commit is contained in:
blackjok3r
2018-12-11 11:34:26 +08:00
parent 10e4b836a4
commit bcf2def097

View File

@@ -526,7 +526,7 @@ UniValue CBlockTreeDB::Snapshot(int top)
char amount[32];
sprintf(amount, "%.8f", (double) it->first / COIN);
obj.push_back( make_pair("amount", amount) );
obj.push_back( make_pair("segid", (int)komodo_segid32((char *)it->second.c_str())));
obj.push_back( make_pair("segid", (uint32_t)komodo_segid32((char *)it->second.c_str())));
total += it->first;
addressesSorted.push_back(obj);
topN++;