aboutsummaryrefslogtreecommitdiffstats
path: root/rlp.go
diff options
context:
space:
mode:
authorobscuren <obscuren@obscura.com>2013-12-30 06:52:46 +0800
committerobscuren <obscuren@obscura.com>2013-12-30 06:52:46 +0800
commit0747aa3a3bd78cc9b99ea72cf45e4cc4bfc301f5 (patch)
treeba61f39172f944f80f9c9a745b43f27ed06ed06d /rlp.go
parent74bc45116aa1c5d0e549f522dccefc58356c1410 (diff)
downloaddexon-0747aa3a3bd78cc9b99ea72cf45e4cc4bfc301f5.tar
dexon-0747aa3a3bd78cc9b99ea72cf45e4cc4bfc301f5.tar.gz
dexon-0747aa3a3bd78cc9b99ea72cf45e4cc4bfc301f5.tar.bz2
dexon-0747aa3a3bd78cc9b99ea72cf45e4cc4bfc301f5.tar.lz
dexon-0747aa3a3bd78cc9b99ea72cf45e4cc4bfc301f5.tar.xz
dexon-0747aa3a3bd78cc9b99ea72cf45e4cc4bfc301f5.tar.zst
dexon-0747aa3a3bd78cc9b99ea72cf45e4cc4bfc301f5.zip
Removed logs from tests and updated rlp encoding to include byte slices
Diffstat (limited to 'rlp.go')
-rw-r--r--rlp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rlp.go b/rlp.go
index bc3b6a151..4db88539d 100644
--- a/rlp.go
+++ b/rlp.go
@@ -132,7 +132,7 @@ func Encode(object interface{}) []byte {
case []byte:
// Cast the byte slice to a string
- //buff.Write(Encode(string(t)))
+ buff.Write(Encode(string(t)))
case []interface{}, []string:
// Inline function for writing the slice header