Skip to content
This repository has been archived by the owner on Sep 19, 2019. It is now read-only.

From<&[u8]> panics in case invalid length is provided #49

Open
tomusdrw opened this issue Jul 30, 2018 · 0 comments
Open

From<&[u8]> panics in case invalid length is provided #49

tomusdrw opened this issue Jul 30, 2018 · 0 comments

Comments

@tomusdrw
Copy link
Contributor

https://github.com/paritytech/primitives/blob/master/uint/src/uint.rs#L1104

IMHO that conversion should be removed in favor of more explicit ::from_big_endian

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant