Skip to content

Commit fd3f878

Browse files
fix: comment for isValidId function
Co-authored-by: Copilot <[email protected]>
1 parent 61c7439 commit fd3f878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/addressOrIdCheck.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ADDRESS_LENGTH, ID_OR_HASH_LENGTH } from '@/config';
22

33
export function isValidId(address: string): boolean {
4-
// Ethereum address: 66 chars, starts with 0x
4+
// Transaction hash or task ID: 66 chars, starts with 0x
55
return (
66
typeof address === 'string' &&
77
address.length === ID_OR_HASH_LENGTH &&

0 commit comments

Comments
 (0)