This commit is contained in:
blackjok3r
2018-12-11 11:42:24 +08:00
parent 5dcc40c3ad
commit 632d84fd61

View File

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