diff options
| author | Jonas Schnelli <[email protected]> | 2016-08-23 15:36:23 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-08-23 15:36:23 +0200 |
| commit | beef966e365e16a9b041321e404f7cd21a4e999e (patch) | |
| tree | 91b9430b34c7e0903fa4d121f8b93e93609acd58 /src/wallet/db.cpp | |
| parent | Merge #8539: CDB: fix debug output (diff) | |
| download | discoin-beef966e365e16a9b041321e404f7cd21a4e999e.tar.xz discoin-beef966e365e16a9b041321e404f7cd21a4e999e.zip | |
[Wallet] remove unused code/conditions in ReadAtCursor
Diffstat (limited to 'src/wallet/db.cpp')
| -rw-r--r-- | src/wallet/db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/db.cpp b/src/wallet/db.cpp index cfd007ca1..652bbebde 100644 --- a/src/wallet/db.cpp +++ b/src/wallet/db.cpp @@ -387,7 +387,7 @@ bool CDB::Rewrite(const string& strFile, const char* pszSkip) while (fSuccess) { CDataStream ssKey(SER_DISK, CLIENT_VERSION); CDataStream ssValue(SER_DISK, CLIENT_VERSION); - int ret = db.ReadAtCursor(pcursor, ssKey, ssValue, DB_NEXT); + int ret = db.ReadAtCursor(pcursor, ssKey, ssValue); if (ret == DB_NOTFOUND) { pcursor->close(); break; |