aboutsummaryrefslogtreecommitdiffstats
path: root/common/rlp.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-21 21:36:20 +0800
committerobscuren <geffobscura@gmail.com>2015-03-21 21:36:20 +0800
commit06697775d1edc3263a7915cee02a94bea488494c (patch)
tree1d39f205327ee47115a7fe2947ccd5a4ba7a4073 /common/rlp.go
parentabce6804a085087770be587e039fd4669d5eac26 (diff)
parent069c87b960c48864dc4f1b9086adf582e1dc88a9 (diff)
downloaddexon-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.go2
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 :-/