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 authored and CJ42 committed Sep 16, 2024
1 parent 5c283dd commit a39b965
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 a39b965

Please sign in to comment.