You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
The From impl in the Hash struct use expect and unwrap to hide conversion error.
Hash data are part of the data send and receive from the node. Using unwrap in these function can be an attack vector to crash the node.
All conversion function that can fail should implement the TryFrom trait instead.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The From impl in the Hash struct use expect and unwrap to hide conversion error.
Hash data are part of the data send and receive from the node. Using unwrap in these function can be an attack vector to crash the node.
All conversion function that can fail should implement the TryFrom trait instead.
The text was updated successfully, but these errors were encountered: