diff options
author | obscuren <geffobscura@gmail.com> | 2014-02-18 19:10:21 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-02-18 19:10:21 +0800 |
commit | c866fcc5b37b53e0d11c1fd7e6cb971859537f2c (patch) | |
tree | 88df6ecab80472a9ad4103ac20c0f92135a6050e /ethutil/helpers.go | |
parent | d7eca7bcc12e940f0aa80d45e6e802ba68143b5c (diff) | |
download | dexon-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/helpers.go')
-rw-r--r-- | ethutil/helpers.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |