mirror of
https://github.com/EvernodeXRPL/sashimono.git
synced 2026-04-29 15:38:00 +00:00
Modified score validation
This commit is contained in:
@@ -676,8 +676,8 @@ class ReputationD {
|
||||
}
|
||||
|
||||
let scores = null;
|
||||
const createdMoment = this.cfg.contractInstance?.created_moment ?? -1;
|
||||
if (currentMoment === createdMoment)
|
||||
const createdMoment = this.cfg.contractInstance?.created_moment ?? -2;
|
||||
if (currentMoment === (createdMoment + 1))
|
||||
scores = await this.#getScores();
|
||||
|
||||
console.log(`Reporting reputations at Moment ${currentMoment} ${scores ? 'With scores' : 'Without scores'}...`);
|
||||
|
||||
Reference in New Issue
Block a user