mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-11 01:53:19 +02:00
Add atp hash checking back in
This commit is contained in:
parent
669d3c3523
commit
4220d7a3cc
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ void AssetRequest::start() {
|
|||
Q_ASSERT(data.size() == (end - start));
|
||||
|
||||
// we need to check the hash of the received data to make sure it matches what we expect
|
||||
if (hashData(data).toHex() == _hash || true) {
|
||||
if (hashData(data).toHex() == _hash) {
|
||||
memcpy(_data.data() + start, data.constData(), data.size());
|
||||
_totalReceived += data.size();
|
||||
emit progress(_totalReceived, _info.size);
|
||||
|
|
Loading…
Reference in a new issue