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/rlp.go | |
parent | 863785a52046bcfbbcaa57c83b4b43c215368760 (diff) | |
download | dexon-80261c803a82e51413608a3dc5273c982844d135.tar dexon-80261c803a82e51413608a3dc5273c982844d135.tar.gz dexon-80261c803a82e51413608a3dc5273c982844d135.tar.bz2 dexon-80261c803a82e51413608a3dc5273c982844d135.tar.lz dexon-80261c803a82e51413608a3dc5273c982844d135.tar.xz dexon-80261c803a82e51413608a3dc5273c982844d135.tar.zst dexon-80261c803a82e51413608a3dc5273c982844d135.zip |
Fixed deref ptr
Diffstat (limited to 'ethutil/rlp.go')
-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 } |