*Remove logging

This commit is contained in:
Derrick Hammer 2023-03-28 07:26:04 -04:00
parent d9a3d30b7d
commit c7c44a0cd2
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 2 deletions

View File

@ -136,10 +136,8 @@ export default class Client {
public async subscribe(callback: (ei: ExecutionInfo) => AsyncOrSync<void>) {
setInterval(async () => {
try {
console.time("subscribe sync");
await this._sync();
const ei = await this.getLatestExecution();
console.timeEnd("subscribe sync");
if (ei && ei.blockhash !== this.latestBlockHash) {
this.latestBlockHash = ei.blockhash;
return await callback(ei);