Minor bugfixes

Was "Handle obfuscation in CLevelDBIterator"

Zcash: Only bugfixes
This commit is contained in:
James O'Beirne
2015-10-08 00:44:10 -07:00
committed by Jack Grigg
parent 1ebf50b6da
commit 0d9524ba6b
3 changed files with 11 additions and 6 deletions

View File

@@ -95,7 +95,7 @@ bool CLevelDBWrapper::IsEmpty()
it->SeekToFirst();
return !(it->Valid());
}
CLevelDBIterator::~CLevelDBIterator() { delete piter; }
bool CLevelDBIterator::Valid() { return piter->Valid(); }
void CLevelDBIterator::SeekToFirst() { piter->SeekToFirst(); }