paritytech / parity-common

Collection of crates used in Parity projects
https://www.paritytech.io/
Apache License 2.0
290 stars 218 forks source link

rlp: tests: fix 32-bit overflow #808

Closed Fabian-Gruenbichler closed 10 months ago

Fabian-Gruenbichler commented 10 months ago

the overflow behaviour depends on the width of usize internally, conditionalize accordingly.

Fixes: #802