From 854a45c280788fef21225c42bb4be56a709d791d Mon Sep 17 00:00:00 2001 From: Sahil-4555 Date: Sat, 27 Sep 2025 09:14:21 +0530 Subject: [PATCH] revert changes --- common/bytes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bytes.go b/common/bytes.go index 61499b521e..98d493a784 100644 --- a/common/bytes.go +++ b/common/bytes.go @@ -30,7 +30,7 @@ func FromHex(s string) []byte { if has0xPrefix(s) { s = s[2:] } - if len(s)&1 == 1 { + if len(s)%2 == 1 { s = "0" + s } return Hex2Bytes(s)