diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-22 01:18:19 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-22 01:18:19 +0800 |
commit | 7f85608f30a2e34005c8d15566849229c758c2f1 (patch) | |
tree | 7aeb9d8bdfda7ec10ea38688a96ed245028764ad /common/rlp.go | |
parent | 09766d1729f7530093aec7e9acd3e5339b2c2028 (diff) | |
parent | fcacfabe1959c4aff6a63cb4e275f65328660601 (diff) | |
download | go-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.tar go-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.tar.gz go-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.tar.bz2 go-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.tar.lz go-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.tar.xz go-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.tar.zst go-tangerine-7f85608f30a2e34005c8d15566849229c758c2f1.zip |
Merge branch 'conversion' into develop
Diffstat (limited to 'common/rlp.go')
-rw-r--r-- | common/rlp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rlp.go b/common/rlp.go index 602f13202..06ac410e9 100644 --- a/common/rlp.go +++ b/common/rlp.go @@ -112,7 +112,7 @@ func Encode(object interface{}) []byte { if object != nil { switch t := object.(type) { case *Value: - buff.Write(Encode(t.Raw())) + buff.Write(Encode(t.Val)) case RlpEncodable: buff.Write(Encode(t.RlpData())) // Code dup :-/ |