diff options
| author | Pieter Wuille <[email protected]> | 2016-08-29 16:15:42 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-08-29 16:16:23 +0200 |
| commit | 01680195f8aa586c55c44767397380def3a23b54 (patch) | |
| tree | 8f1ca739993eabde6a9c2cd654216578fdc5ceec /src/wallet/db.cpp | |
| parent | Merge #8607: [doc] Fix doxygen off-by-one comments, fix typos (diff) | |
| parent | [Wallet] remove unused code/conditions in ReadAtCursor (diff) | |
| download | discoin-01680195f8aa586c55c44767397380def3a23b54.tar.xz discoin-01680195f8aa586c55c44767397380def3a23b54.zip | |
Merge #8564: [Wallet] remove unused code/conditions in ReadAtCursor
beef966 [Wallet] remove unused code/conditions in ReadAtCursor (Jonas Schnelli)
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; |