Skip to content

Commit 7f8abaa

Browse files
committed
fix : toSigner returns it's own signAuthorization
1 parent a966c3f commit 7f8abaa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/core/accounts/kernel/createKernelAccount.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ export async function createKernelAccount<
367367
kernelVersion,
368368
initConfig,
369369
useMetaFactory: _useMetaFactory = true,
370-
pluginMigrations
370+
pluginMigrations
371371
}: CreateKernelAccountParameters<entryPointVersion, KernelVersion>
372372
): Promise<CreateKernelAccountReturnType<entryPointVersion>> {
373373
let useMetaFactory = _useMetaFactory

packages/core/utils/toSigner.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export async function toSigner({
101101
throw new Error(
102102
"Smart account signer doesn't need to sign transactions"
103103
)
104-
}
104+
},
105+
signAuthorization: signer.signAuthorization
105106
}) as LocalAccount
106107
}

0 commit comments

Comments
 (0)