|
|
|
@ -167,7 +167,7 @@ public:
|
|
|
|
|
|
|
|
|
|
template<typename V> bool GetValue(V& value) {
|
|
|
|
|
try {
|
|
|
|
|
CDataStream ssValue{GetValueImpl(), SER_DISK, CLIENT_VERSION};
|
|
|
|
|
DataStream ssValue{GetValueImpl()};
|
|
|
|
|
ssValue.Xor(dbwrapper_private::GetObfuscateKey(parent));
|
|
|
|
|
ssValue >> value;
|
|
|
|
|
} catch (const std::exception&) {
|
|
|
|
@ -229,7 +229,7 @@ public:
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
try {
|
|
|
|
|
CDataStream ssValue{MakeByteSpan(*strValue), SER_DISK, CLIENT_VERSION};
|
|
|
|
|
DataStream ssValue{MakeByteSpan(*strValue)};
|
|
|
|
|
ssValue.Xor(obfuscate_key);
|
|
|
|
|
ssValue >> value;
|
|
|
|
|
} catch (const std::exception&) {
|
|
|
|
|