From 8938990de7f0e448556d18902236a6319d1e3f36 Mon Sep 17 00:00:00 2001 From: Chester Sim Date: Thu, 21 Dec 2023 08:56:38 +0800 Subject: [PATCH] refactor(sdk): remove initial fetch for if stake account subscriber --- sdk/src/accounts/pollingInsuranceFundStakeAccountSubscriber.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/src/accounts/pollingInsuranceFundStakeAccountSubscriber.ts b/sdk/src/accounts/pollingInsuranceFundStakeAccountSubscriber.ts index 2d5f0c440..bca1c04ac 100644 --- a/sdk/src/accounts/pollingInsuranceFundStakeAccountSubscriber.ts +++ b/sdk/src/accounts/pollingInsuranceFundStakeAccountSubscriber.ts @@ -54,7 +54,6 @@ export class PollingInsuranceFundStakeAccountSubscriber await this.addToAccountLoader(); - await this.fetchIfUnloaded(); if (this.doesAccountExist()) { this.eventEmitter.emit('update'); }