diff options
author | obscuren <geffobscura@gmail.com> | 2014-09-19 19:19:19 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-09-19 19:19:19 +0800 |
commit | 80261c803a82e51413608a3dc5273c982844d135 (patch) | |
tree | 07bae1473db846065d62ac86b339aaadc9d781c1 /ethutil | |
parent | 863785a52046bcfbbcaa57c83b4b43c215368760 (diff) | |
download | go-tangerine-80261c803a82e51413608a3dc5273c982844d135.tar go-tangerine-80261c803a82e51413608a3dc5273c982844d135.tar.gz go-tangerine-80261c803a82e51413608a3dc5273c982844d135.tar.bz2 go-tangerine-80261c803a82e51413608a3dc5273c982844d135.tar.lz go-tangerine-80261c803a82e51413608a3dc5273c982844d135.tar.xz go-tangerine-80261c803a82e51413608a3dc5273c982844d135.tar.zst go-tangerine-80261c803a82e51413608a3dc5273c982844d135.zip |
Fixed deref ptr
Diffstat (limited to 'ethutil')
-rw-r--r-- | ethutil/rlp.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ethutil/rlp.go b/ethutil/rlp.go index febfb78e1..55406133b 100644 --- a/ethutil/rlp.go +++ b/ethutil/rlp.go @@ -15,6 +15,10 @@ type RlpEncodeDecode interface { RlpValue() []interface{} } +func Rlp(encoder RlpEncode) []byte { + return encoder.RlpEncode() +} + type RlpEncoder struct { rlpData []byte } |