aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/rlpx_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@users.noreply.github.com>2019-05-14 21:09:56 +0800
committerGitHub <noreply@github.com>2019-05-14 21:09:56 +0800
commit8deec2e45a315393025145ace43782b6294541d5 (patch)
tree1c0f2e492b2029171e83d57bdaadaabe593795cc /p2p/rlpx_test.go
parent184af72e4e30266b1f25b7602cc1ffdc60a130f6 (diff)
downloadgo-tangerine-8deec2e45a315393025145ace43782b6294541d5.tar
go-tangerine-8deec2e45a315393025145ace43782b6294541d5.tar.gz
go-tangerine-8deec2e45a315393025145ace43782b6294541d5.tar.bz2
go-tangerine-8deec2e45a315393025145ace43782b6294541d5.tar.lz
go-tangerine-8deec2e45a315393025145ace43782b6294541d5.tar.xz
go-tangerine-8deec2e45a315393025145ace43782b6294541d5.tar.zst
go-tangerine-8deec2e45a315393025145ace43782b6294541d5.zip
rlp: fixes for two corner cases and documentation (#19527)
These changes fix two corner cases related to internal handling of types in package rlp: The "tail" struct tag can only be applied to the last field. The check for this was wrong and didn't allow for private fields after the field with the tag. Unsupported types (e.g. structs containing int) which implement either the Encoder or Decoder interface but not both couldn't be encoded/decoded. Also fixes #19367
Diffstat (limited to 'p2p/rlpx_test.go')
0 files changed, 0 insertions, 0 deletions