diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-21 21:36:20 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-21 21:36:20 +0800 |
commit | 06697775d1edc3263a7915cee02a94bea488494c (patch) | |
tree | 1d39f205327ee47115a7fe2947ccd5a4ba7a4073 /common/rlp.go | |
parent | abce6804a085087770be587e039fd4669d5eac26 (diff) | |
parent | 069c87b960c48864dc4f1b9086adf582e1dc88a9 (diff) | |
download | dexon-06697775d1edc3263a7915cee02a94bea488494c.tar dexon-06697775d1edc3263a7915cee02a94bea488494c.tar.gz dexon-06697775d1edc3263a7915cee02a94bea488494c.tar.bz2 dexon-06697775d1edc3263a7915cee02a94bea488494c.tar.lz dexon-06697775d1edc3263a7915cee02a94bea488494c.tar.xz dexon-06697775d1edc3263a7915cee02a94bea488494c.tar.zst dexon-06697775d1edc3263a7915cee02a94bea488494c.zip |
Merge branch 'conversion' of github.com-obscure:ethereum/go-ethereum into conversion
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 :-/ |