aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-18 19:10:21 +0800
committerobscuren <geffobscura@gmail.com>2014-02-18 19:10:21 +0800
commitc866fcc5b37b53e0d11c1fd7e6cb971859537f2c (patch)
tree88df6ecab80472a9ad4103ac20c0f92135a6050e /ethutil
parentd7eca7bcc12e940f0aa80d45e6e802ba68143b5c (diff)
downloaddexon-c866fcc5b37b53e0d11c1fd7e6cb971859537f2c.tar
dexon-c866fcc5b37b53e0d11c1fd7e6cb971859537f2c.tar.gz
dexon-c866fcc5b37b53e0d11c1fd7e6cb971859537f2c.tar.bz2
dexon-c866fcc5b37b53e0d11c1fd7e6cb971859537f2c.tar.lz
dexon-c866fcc5b37b53e0d11c1fd7e6cb971859537f2c.tar.xz
dexon-c866fcc5b37b53e0d11c1fd7e6cb971859537f2c.tar.zst
dexon-c866fcc5b37b53e0d11c1fd7e6cb971859537f2c.zip
Added new address
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
}