feat: add synced event

This commit is contained in:
Derrick Hammer 2023-07-23 12:01:10 -04:00
parent db18efb245
commit 0321136ac0
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -177,6 +177,7 @@ export default abstract class BaseClient extends EventEmitter {
this.latestCommittee = await this.syncFromLastUpdate();
}
this._latestPeriod = currentPeriod;
this.emit("synced");
}
this.syncMutex.release();