aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil
diff options
context:
space:
mode:
Diffstat (limited to 'ethutil')
-rw-r--r--ethutil/config.go2
-rw-r--r--ethutil/helpers.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/ethutil/config.go b/ethutil/config.go
index 2a239f8e2..df1772d81 100644
--- a/ethutil/config.go
+++ b/ethutil/config.go
@@ -43,7 +43,7 @@ func ReadConfig(base string) *config {
}
}
- Config = &config{ExecPath: path, Debug: true, Ver: "0.2.2"}
+ Config = &config{ExecPath: path, Debug: true, Ver: "0.2.3"}
Config.Log = NewLogger(LogFile|LogStd, 0)
}
diff --git a/ethutil/helpers.go b/ethutil/helpers.go
index 11a474081..aa0f79a04 100644
--- a/ethutil/helpers.go
+++ b/ethutil/helpers.go
@@ -58,7 +58,7 @@ func MatchingNibbleLength(a, b []int) int {
func Hex(d []byte) string {
return hex.EncodeToString(d)
}
-func ToHex(str string) []byte {
+func FromHex(str string) []byte {
h, _ := hex.DecodeString(str)
return h
}