Undo
This commit is contained in:
@@ -401,7 +401,7 @@ bool getAddressFromIndex(const int &type, const uint160 &hash, std::string &addr
|
|||||||
int64_t CBlockTreeDB::Snapshot()
|
int64_t CBlockTreeDB::Snapshot()
|
||||||
{
|
{
|
||||||
char chType; int64_t total = -1; std::string address;
|
char chType; int64_t total = -1; std::string address;
|
||||||
boost::scoped_ptr<leveldb::Iterator> pcursor(const_cast<CLevelDBWrapper*>(&db)->NewIterator());
|
boost::scoped_ptr<leveldb::Iterator> pcursor(NewIterator());
|
||||||
pcursor->SeekToFirst();
|
pcursor->SeekToFirst();
|
||||||
fprintf(stderr,"pcursor iterate\n");
|
fprintf(stderr,"pcursor iterate\n");
|
||||||
while (pcursor->Valid())
|
while (pcursor->Valid())
|
||||||
|
|||||||
Reference in New Issue
Block a user