remove unused code

pull/219/head
Minh Doan 6 years ago committed by Minh Doan
parent 5daf5964b2
commit 9827faf637
  1. 5
      internal/utils/bytes_test.go

@ -99,8 +99,3 @@ func TestCopyBytes(t *testing.T) {
t.Errorf("should not be 0")
}
}
// hasHexPrefix validates str begins with '0x' or '0X'.
func hasHexPrefix(str string) bool {
return len(str) >= 2 && str[0] == '0' && (str[1] == 'x' || str[1] == 'X')
}

Loading…
Cancel
Save