aboutsummaryrefslogtreecommitdiffstats
path: root/rlp/decode.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2014-12-09 19:49:20 +0800
committerFelix Lange <fjl@twurst.com>2014-12-09 19:49:20 +0800
commit829730dec419112a8e870e1bf0ea20736ab0d02a (patch)
tree26f45b1622abf58c3fc68591f2c4c8c1702f10e4 /rlp/decode.go
parentc084a7daa58117f1864eac5130ccf3290372fd4c (diff)
downloaddexon-829730dec419112a8e870e1bf0ea20736ab0d02a.tar
dexon-829730dec419112a8e870e1bf0ea20736ab0d02a.tar.gz
dexon-829730dec419112a8e870e1bf0ea20736ab0d02a.tar.bz2
dexon-829730dec419112a8e870e1bf0ea20736ab0d02a.tar.lz
dexon-829730dec419112a8e870e1bf0ea20736ab0d02a.tar.xz
dexon-829730dec419112a8e870e1bf0ea20736ab0d02a.tar.zst
dexon-829730dec419112a8e870e1bf0ea20736ab0d02a.zip
rlp: remove dead code
Diffstat (limited to 'rlp/decode.go')
-rw-r--r--rlp/decode.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/rlp/decode.go b/rlp/decode.go
index 66830b89c..06786eae7 100644
--- a/rlp/decode.go
+++ b/rlp/decode.go
@@ -238,8 +238,6 @@ func decodeListArray(s *Stream, val reflect.Value, elemdec decoder) error {
} else if err != nil {
return err
}
- if i == vlen {
- }
}
if i < vlen {
zero(val, i)