Removed logs from tests and updated rlp encoding to include byte slices

This commit is contained in:
obscuren
2013-12-29 23:52:46 +01:00
parent 74bc45116a
commit 0747aa3a3b
2 changed files with 6 additions and 8 deletions

2
rlp.go
View File

@@ -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