Skip to content

Commit

Permalink
remove L&E signature (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao Pedro da Silva authored Nov 3, 2022
1 parent 1faa285 commit f3fe3f6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/core/src/services/learnAndEarn/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,11 @@ export default class LearnAndEarnService {
const level = await models.learnAndEarnLevel.findOne({
where: { id: lesson!.levelId },
});
const signature = await this.signParams(
user.address,
level!.id,
level!.totalReward
);
// const signature = await this.signParams(
// user.address,
// level!.id,
// level!.totalReward
// );
const amount = await this.calculateReward(
user.userId,
level!.id
Expand All @@ -249,7 +249,7 @@ export default class LearnAndEarnService {
levelId: level!.id,
amount,
status: 'pending',
signature,
signature: '',
});

// verify if the category was completed
Expand Down

0 comments on commit f3fe3f6

Please sign in to comment.