Fixed deref ptr

This commit is contained in:
obscuren
2014-09-19 13:19:19 +02:00
parent 863785a520
commit 80261c803a
3 changed files with 26 additions and 3 deletions

View File

@ -15,6 +15,10 @@ type RlpEncodeDecode interface {
RlpValue() []interface{}
}
func Rlp(encoder RlpEncode) []byte {
return encoder.RlpEncode()
}
type RlpEncoder struct {
rlpData []byte
}