althea-net / serde-rlp

Ethereum's RLP encoding implemented as a Serde data format
Apache License 2.0
13 stars 10 forks source link

Use of usize with write_uint #5

Closed jkilpatr closed 6 years ago

jkilpatr commented 6 years ago

https://github.com/althea-mesh/serde-rlp/blob/master/src/rlp.rs#L75

This can cause issues on some architectures.

jkilpatr commented 6 years ago

confirmed safe because the u64 type specification in the function.