Skip to content

Commit

Permalink
orderManager return runner score
Browse files Browse the repository at this point in the history
  • Loading branch information
icezohu committed Apr 1, 2024
1 parent 12362f7 commit dd9a8a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/network-support/src/orderManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,10 @@ export class OrderManager {
this.agreements[index].token = token;
}

getScore(runner: string) {
return this.scoreManager.getScore(runner);
}

updateScore(runner: string, errorType: ScoreType) {
this.scoreManager.updateScore(runner, errorType);
}
Expand Down

0 comments on commit dd9a8a1

Please sign in to comment.