aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil/bytes.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-26 17:24:44 +0800
committerobscuren <geffobscura@gmail.com>2014-07-26 17:24:44 +0800
commit41bd38147c2e5968283facf641b2444c09f53d14 (patch)
tree69353d4174e2a244c48eb1faa37d74077b9495d2 /ethutil/bytes.go
parent92ffc1cc4c7227de93d933181a30c57c5730c41f (diff)
downloadgo-tangerine-41bd38147c2e5968283facf641b2444c09f53d14.tar
go-tangerine-41bd38147c2e5968283facf641b2444c09f53d14.tar.gz
go-tangerine-41bd38147c2e5968283facf641b2444c09f53d14.tar.bz2
go-tangerine-41bd38147c2e5968283facf641b2444c09f53d14.tar.lz
go-tangerine-41bd38147c2e5968283facf641b2444c09f53d14.tar.xz
go-tangerine-41bd38147c2e5968283facf641b2444c09f53d14.tar.zst
go-tangerine-41bd38147c2e5968283facf641b2444c09f53d14.zip
Clean up and util methods
Diffstat (limited to 'ethutil/bytes.go')
-rw-r--r--ethutil/bytes.go1
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
}