mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
lint fixes
This commit is contained in:
parent
854a45c280
commit
bceb7fabef
1 changed files with 0 additions and 1 deletions
|
|
@ -52,7 +52,6 @@ func has0xPrefix(str string) bool {
|
|||
return len(str) >= 2 && str[0] == '0' && (str[1] == 'x' || str[1] == 'X')
|
||||
}
|
||||
|
||||
|
||||
// isHex validates whether each byte is valid hexadecimal string.
|
||||
func isHex(str string) bool {
|
||||
if len(str)%2 != 0 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue