Skip to content

Commit 5096587

Browse files
Merge pull request #4008 from OriginTrail/fix/chalange-record-status-update
Fix setCompletedAndFinalizedRandomSamplingChallengeRecord parameters
2 parents aa3b108 + bbbd9c1 commit 5096587

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/service/proofing-service.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ class ProofingService {
172172
latestChallenge.sentSuccessfully = false;
173173
latestChallenge.finalized = false;
174174
await this.repositoryModuleManager.setCompletedAndFinalizedRandomSamplingChallengeRecord(
175-
latestChallenge,
175+
latestChallenge.id,
176+
latestChallenge.sentSuccessfully,
177+
latestChallenge.finalized,
176178
);
177179
await this.prepareAndSendProof(blockchainId, identityId);
178180
}

0 commit comments

Comments
 (0)