Skip to content

Commit

Permalink
fix: Make explicitely sure that method === 0x0000000 is also ignored …
Browse files Browse the repository at this point in the history
…in isDataAuthentic
  • Loading branch information
richtera committed Sep 12, 2024
1 parent 0c1032a commit 06cc24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ export function isDataAuthentic(
options: Verification,
capture?: string[],
): boolean {
if (!options || !options.method) {
if (!options?.method || options?.method === '0x00000000') {
return true;
}

Expand Down

0 comments on commit 06cc24c

Please sign in to comment.