@ -126,3 +126,11 @@ func GetEnvDefault(key, defval string) string {
return defval
}
// fix hex string to no 0x prefix
func FixToNo0x(hexstr string) string {
if strings.HasPrefix(hexstr, "0x") {
return hexstr[2:]
return hexstr
The note is not visible to the blocked user.