We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f15f790 commit 4240a08Copy full SHA for 4240a08
src/dbwrapper.h
@@ -167,7 +167,7 @@ class CDBIterator
167
168
template<typename V> bool GetValue(V& value) {
169
try {
170
- CDataStream ssValue{GetValueImpl(), SER_DISK, CLIENT_VERSION};
+ DataStream ssValue{GetValueImpl()};
171
ssValue.Xor(dbwrapper_private::GetObfuscateKey(parent));
172
ssValue >> value;
173
} catch (const std::exception&) {
@@ -229,7 +229,7 @@ class CDBWrapper
229
return false;
230
}
231
232
- CDataStream ssValue{MakeByteSpan(*strValue), SER_DISK, CLIENT_VERSION};
+ DataStream ssValue{MakeByteSpan(*strValue)};
233
ssValue.Xor(obfuscate_key);
234
235
0 commit comments