From 06cc24c3394d12998ef8e8860f9dcf8d711117c7 Mon Sep 17 00:00:00 2001 From: Andreas Richter <708186+richtera@users.noreply.github.com> Date: Thu, 12 Sep 2024 13:50:10 -0400 Subject: [PATCH] fix: Make explicitely sure that method === 0x0000000 is also ignored in isDataAuthentic --- src/lib/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils.ts b/src/lib/utils.ts index 14fa11fc..66b8eddf 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -550,7 +550,7 @@ export function isDataAuthentic( options: Verification, capture?: string[], ): boolean { - if (!options || !options.method) { + if (!options?.method || options?.method === '0x00000000') { return true; }