From 57a14f6c1a52be751c3ba4486ebbe3245ac43b20 Mon Sep 17 00:00:00 2001 From: kopy-kat Date: Sun, 3 Nov 2024 11:32:54 +0700 Subject: [PATCH] fix: kernel mode --- src/module/smart-sessions/usage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/smart-sessions/usage.ts b/src/module/smart-sessions/usage.ts index f8d6461f..62fcfdf6 100644 --- a/src/module/smart-sessions/usage.ts +++ b/src/module/smart-sessions/usage.ts @@ -403,7 +403,7 @@ export const formatPermissionEnableSig = ({ case 'kernel': return encodePacked( ['bytes1', 'address', 'bytes'], - ['0x01', validator, signature], + ['0x00', validator, signature], ) default: throw new Error(`Unsupported account type: ${accountType}`)