parity-common
parity-common copied to clipboard
[rlp] BasicEncoder::insert_list_payload investigate if pos can be 0
If pos
is ever zero it looks like nasty things could happen (was true before too); can you double-check it cannot be called with pos
== 0?
Originally posted by @dvdplm in https://github.com/paritytech/parity-common/pull/462#discussion_r533765553