diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-19 19:15:43 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-19 19:15:43 +0800 |
commit | 965c9babe336cfa8d5c740d5356acbc5f9ba4a72 (patch) | |
tree | 2d72947f28b4fe420b12ff76988e9cf692de126b /eth/protocol_test.go | |
parent | 064279c0ec2f048cbdd965c095ea332bb8666f94 (diff) | |
download | dexon-965c9babe336cfa8d5c740d5356acbc5f9ba4a72.tar dexon-965c9babe336cfa8d5c740d5356acbc5f9ba4a72.tar.gz dexon-965c9babe336cfa8d5c740d5356acbc5f9ba4a72.tar.bz2 dexon-965c9babe336cfa8d5c740d5356acbc5f9ba4a72.tar.lz dexon-965c9babe336cfa8d5c740d5356acbc5f9ba4a72.tar.xz dexon-965c9babe336cfa8d5c740d5356acbc5f9ba4a72.tar.zst dexon-965c9babe336cfa8d5c740d5356acbc5f9ba4a72.zip |
rlp: fix encoding of one element strings and byte slices
The encoder was missing a special case for one element strings whose
element is below 0x7f. Such strings must be encoded as a single byte
without a string header.
Diffstat (limited to 'eth/protocol_test.go')
0 files changed, 0 insertions, 0 deletions