Minor fix

This commit is contained in:
chalith
2024-04-28 00:04:24 +05:30
parent 96a9e1f7fc
commit a4e4ff04d2

View File

@@ -635,8 +635,7 @@ class ReputationD {
let scores = null;
if (this.cfg.contractInstance && this.cfg.contractInstance.created_timestamp &&
currentMoment === (await this.reputationClient.getMoment(this.cfg.contractInstance.created_timestamp) + 1) &&
this.cfg.contractInstance.status === ContractStatus.Deployed)
currentMoment === (await this.reputationClient.getMoment(this.cfg.contractInstance.created_timestamp) + 1))
scores = await this.#getScores();
console.log(`Reporting reputations at Moment ${currentMoment} ${scores ? 'With scores' : 'Without scores'}...`);