diff options
| author | Stefan Boberg <[email protected]> | 2022-12-12 13:34:51 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-12 13:34:51 +0100 |
| commit | 8dbd301a196041a36be455c1b4cedc81f0d634fe (patch) | |
| tree | 0c278bb9ac5d185ef1ce6115f7c85067e680d0b7 /zenserver/upstream/upstreamcache.cpp | |
| parent | added [[fallthrough]] annotations to silence static analysis (diff) | |
| download | zen-8dbd301a196041a36be455c1b4cedc81f0d634fe.tar.xz zen-8dbd301a196041a36be455c1b4cedc81f0d634fe.zip | |
Changed so CompressedBuffer::DecodeRawHash returns IoHash just like on the UE side (#208)
removed all use of IoHash::FromBLAKE3() caused by interactions with CompressedBuffer APIs
Diffstat (limited to 'zenserver/upstream/upstreamcache.cpp')
| -rw-r--r-- | zenserver/upstream/upstreamcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenserver/upstream/upstreamcache.cpp b/zenserver/upstream/upstreamcache.cpp index 6e5422007..e838b5fe2 100644 --- a/zenserver/upstream/upstreamcache.cpp +++ b/zenserver/upstream/upstreamcache.cpp @@ -490,7 +490,7 @@ namespace detail { else { CompressedBuffer Compressed = CompressedBuffer::Compress(SharedBuffer(Payload)); - RawHash = IoHash::FromBLAKE3(Compressed.DecodeRawHash()); + RawHash = Compressed.DecodeRawHash(); if (RawHash == PayloadHash) { IsCompressed = true; |