diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-26 17:24:44 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-26 17:24:44 +0800 |
commit | 41bd38147c2e5968283facf641b2444c09f53d14 (patch) | |
tree | 69353d4174e2a244c48eb1faa37d74077b9495d2 /ethutil/bytes.go | |
parent | 92ffc1cc4c7227de93d933181a30c57c5730c41f (diff) | |
download | dexon-41bd38147c2e5968283facf641b2444c09f53d14.tar dexon-41bd38147c2e5968283facf641b2444c09f53d14.tar.gz dexon-41bd38147c2e5968283facf641b2444c09f53d14.tar.bz2 dexon-41bd38147c2e5968283facf641b2444c09f53d14.tar.lz dexon-41bd38147c2e5968283facf641b2444c09f53d14.tar.xz dexon-41bd38147c2e5968283facf641b2444c09f53d14.tar.zst dexon-41bd38147c2e5968283facf641b2444c09f53d14.zip |
Clean up and util methods
Diffstat (limited to 'ethutil/bytes.go')
-rw-r--r-- | ethutil/bytes.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ethutil/bytes.go b/ethutil/bytes.go index 34fff7d42..53b8cf645 100644 --- a/ethutil/bytes.go +++ b/ethutil/bytes.go @@ -98,6 +98,7 @@ func Bytes2Hex(d []byte) string { func Hex2Bytes(str string) []byte { h, _ := hex.DecodeString(str) + return h } |