Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions consensus/types/src/execution_block_hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,9 @@ impl fmt::Display for ExecutionBlockHash {
write!(f, "{}", self.0)
}
}

impl From<Hash256> for ExecutionBlockHash {
fn from(hash: Hash256) -> Self {
Self(hash)
}
}
Loading