Skip to content

Commit 4765c91

Browse files
committed
Merge branch 'gj/wallet_full_batchability' of github.com:AztecProtocol/aztec-packages into gj/wallet_full_batchability
2 parents 7816c58 + 2c4f14c commit 4765c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yarn-project/aztec.js/src/wallet/wallet.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ class MockWallet implements Wallet {
426426
// 2. `args` matches the parameter types of that specific method
427427
// 3. The return type is correctly mapped in BatchResults<T>
428428
// We use dynamic dispatch here for simplicity, but the types are enforced at the call site.
429-
const fn = this[name] as (...args: any[]) => Promise<any>;
429+
const fn = (this as any)[name] as (...args: any[]) => Promise<any>;
430430
const result = await fn.apply(this, args);
431431
// Wrap result with method name for discriminated union deserialization
432432
results.push({ name, result });

0 commit comments

Comments
 (0)