diff options
author | Ricardo Catalinas Jiménez <r@untroubled.be> | 2016-02-21 02:55:32 +0800 |
---|---|---|
committer | Ricardo Catalinas Jiménez <r@untroubled.be> | 2016-02-22 06:46:31 +0800 |
commit | fbf3b2ede2f8286e858205f171391883fcb56b28 (patch) | |
tree | 5285cc3af04ba7b468f6b3c4cb4662da8586e058 /common/bytes.go | |
parent | 3d971c5a34ad14b13c6cc446e2ff41156b202c9f (diff) | |
download | dexon-fbf3b2ede2f8286e858205f171391883fcb56b28.tar dexon-fbf3b2ede2f8286e858205f171391883fcb56b28.tar.gz dexon-fbf3b2ede2f8286e858205f171391883fcb56b28.tar.bz2 dexon-fbf3b2ede2f8286e858205f171391883fcb56b28.tar.lz dexon-fbf3b2ede2f8286e858205f171391883fcb56b28.tar.xz dexon-fbf3b2ede2f8286e858205f171391883fcb56b28.tar.zst dexon-fbf3b2ede2f8286e858205f171391883fcb56b28.zip |
common: Remove empty lines
Diffstat (limited to 'common/bytes.go')
-rw-r--r-- | common/bytes.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/bytes.go b/common/bytes.go index ba6987a9e..389ac0e4b 100644 --- a/common/bytes.go +++ b/common/bytes.go @@ -154,7 +154,6 @@ func Hex2Bytes(str string) []byte { } func Hex2BytesFixed(str string, flen int) []byte { - h, _ := hex.DecodeString(str) if len(h) == flen { return h @@ -167,7 +166,6 @@ func Hex2BytesFixed(str string, flen int) []byte { return hh } } - } func StringToByteFunc(str string, cb func(str string) []byte) (ret []byte) { |