Skip to content
Unverified Commit 76720173 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Make `CandidateHash` a real type (#1916)



* Make `CandidateHash` a real type

This pr adds a new type `CandidateHash` that is used instead of the
opaque `Hash` type. This helps to ensure on the type system level that
we are passing the correct types.

This pr also fixes wrong usage of `relay_parent` as `candidate_hash`
when communicating with the av storage.

* Update core-primitives/src/lib.rs

Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>

* Wrap the lines

Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
parent 9758a180
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment