Skip to content

Commit 18daffb

Browse files
committed
fix: injection of multicall spy
1 parent 6578e8a commit 18daffb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/attachSDK.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ export default async function attachSDK(): Promise<ICreditAccountsService> {
1919
const config: Config = DI.get(DI.Config);
2020
const client: Client = DI.get(DI.Client);
2121
const logger: ILogger = DI.create(DI.Logger, "sdk");
22-
const multicallSpy: MulticallSpy = DI.get(DI.MulticallSpy);
22+
const multicallSpy: MulticallSpy = DI.create(DI.MulticallSpy);
23+
DI.set(DI.MulticallSpy, multicallSpy);
2324

2425
await client.launch();
2526
let optimisticTimestamp: number | undefined;

0 commit comments

Comments
 (0)