Skip to content

Commit 1338906

Browse files
committed
fix: fix
1 parent 377dcaa commit 1338906

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/assets-controllers/src/MultichainBalancesController/MultichainBalancesController.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,9 @@ export class MultichainBalancesController extends BaseController<
187187
assets: added,
188188
}),
189189
);
190-
191-
await this.#updateBalancesForAccounts(accountsAndAssetsToUpdate);
190+
if (accountsAndAssetsToUpdate.length > 0) {
191+
await this.#updateBalancesForAccounts(accountsAndAssetsToUpdate);
192+
}
192193
},
193194
);
194195
}

0 commit comments

Comments
 (0)