We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 518b5d9 commit d7c4344Copy full SHA for d7c4344
src/utils/validation.ts
@@ -38,8 +38,8 @@ export const isBlockHash = (hash: string): boolean => {
38
}
39
40
// Heuristic: Block Hashes are more likely to start with 6 consecutive zeros
41
- const leadingZeros = hash.substring(0, 6);
42
- if (leadingZeros === '000000') {
+ const leadingZeros = hash.substring(0, 12);
+ if (leadingZeros === '000000000000') {
43
return true; // Likely a Block Hash based on heuristic
44
45
0 commit comments