mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-04-22 23:17:17 -05:00
Merge branch 'master' into dev
This commit is contained in:
commit
e66bc817b1
|
|
@ -181,7 +181,7 @@ spr.post('/relay/0', async (request, response) => {
|
|||
|
||||
// * Upload slot data
|
||||
if (sprSlot.size > 0 && sprSlot.sendMode !== SendMode.RecvOnly) {
|
||||
const dataHash = crypto.createHash('sha256').update(sprSlot.data).digest('base64');
|
||||
const dataHash = crypto.createHash('sha256').update(sprSlot.data).digest('hex');
|
||||
let slotData = await getDuplicateCECData(request.pid, sprSlot.gameID);
|
||||
|
||||
if (!slotData || slotData.data_hash !== dataHash) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user