diff --git a/CHANGELOG.md b/CHANGELOG.md index 25d5204..cdb88fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.0.1-alpha.41](https://github.com/DIG-Network/dig-incentive-server/compare/v0.0.1-alpha.40...v0.0.1-alpha.41) (2024-09-30) + ### [0.0.1-alpha.40](https://github.com/DIG-Network/dig-incentive-server/compare/v0.0.1-alpha.39...v0.0.1-alpha.40) (2024-09-30) ### [0.0.1-alpha.39](https://github.com/DIG-Network/dig-incentive-server/compare/v0.0.1-alpha.38...v0.0.1-alpha.39) (2024-09-30) diff --git a/package-lock.json b/package-lock.json index c61eadd..6443dfe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dig-incentive-server", - "version": "0.0.1-alpha.40", + "version": "0.0.1-alpha.41", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dig-incentive-server", - "version": "0.0.1-alpha.40", + "version": "0.0.1-alpha.41", "license": "ISC", "dependencies": { "@dignetwork/datalayer-driver": "^0.1.28", diff --git a/package.json b/package.json index 88e38e7..5c85bde 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dig-incentive-server", - "version": "0.0.1-alpha.40", + "version": "0.0.1-alpha.41", "description": "", "type": "commonjs", "main": "./dist/index.js", diff --git a/src/tasks/payouts.ts b/src/tasks/payouts.ts index d62ef6e..ab4c549 100644 --- a/src/tasks/payouts.ts +++ b/src/tasks/payouts.ts @@ -148,6 +148,9 @@ const runIncentiveProgram = async ( const expectedChallengeResponse = await digChallenge.createChallengeResponse(challenge); + + console.log(`${peerIp} - ${hexToUtf8(hexKey)} - ${peerChallengeResponse} - ${expectedChallengeResponse}`); + return peerChallengeResponse === expectedChallengeResponse; } catch (error: any) { console.error(