Skip to content

Commit

Permalink
case sensitivity fix
Browse files Browse the repository at this point in the history
  • Loading branch information
owl352 committed Sep 21, 2024
1 parent 1053a41 commit 780c1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/controllers/MainController.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class MainController {
}
}

if (/^[0-9A-F]{64,64}$/.test(query)) {
if (/^[0-9A-f]{64,64}$/.test(query)) {
// search block by hash
const block = await this.blocksDAO.getBlockByHash(query)

Expand Down

0 comments on commit 780c1ff

Please sign in to comment.