From 780c1ff3fd0fa5950413c26e63fc713d15a12c5a Mon Sep 17 00:00:00 2001 From: owl352 Date: Sun, 22 Sep 2024 01:29:24 +0500 Subject: [PATCH] case sensitivity fix --- packages/api/src/controllers/MainController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/controllers/MainController.js b/packages/api/src/controllers/MainController.js index afba6d227..3141e35c0 100644 --- a/packages/api/src/controllers/MainController.js +++ b/packages/api/src/controllers/MainController.js @@ -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)