diff options
author | obscuren <geffobscura@gmail.com> | 2014-04-27 23:15:44 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-04-27 23:16:53 +0800 |
commit | 338b6980915c990c6e6287a7249ddd98e6be20eb (patch) | |
tree | d5c33a03c473dab1de0daade37a2d12986084faa /ethutil/rlp.go | |
parent | 16e52327a4baa5547c38965fce53b3ff40b98173 (diff) | |
download | go-tangerine-338b6980915c990c6e6287a7249ddd98e6be20eb.tar.gz go-tangerine-338b6980915c990c6e6287a7249ddd98e6be20eb.tar.zst go-tangerine-338b6980915c990c6e6287a7249ddd98e6be20eb.zip |
Refactoring and added documentation comments
Diffstat (limited to 'ethutil/rlp.go')
-rw-r--r-- | ethutil/rlp.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ethutil/rlp.go b/ethutil/rlp.go index d95ace425..69f80a0a6 100644 --- a/ethutil/rlp.go +++ b/ethutil/rlp.go @@ -26,16 +26,6 @@ func (coder *RlpEncoder) EncodeData(rlpData interface{}) []byte { return Encode(rlpData) } -/* -func FromBin(data []byte) uint64 { - if len(data) == 0 { - return 0 - } - - return FromBin(data[:len(data)-1])*256 + uint64(data[len(data)-1]) -} -*/ - const ( RlpEmptyList = 0x80 RlpEmptyStr = 0x40 |