mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-16 19:32:55 +00:00
Merge remote-tracking branch 'origin/unstable' into tree-states
This commit is contained in:
@@ -467,6 +467,11 @@ impl<T: EthSpec> From<GetPayloadResponse<T>>
|
||||
}
|
||||
}
|
||||
|
||||
pub enum GetPayloadResponseType<E: EthSpec> {
|
||||
Full(GetPayloadResponse<E>),
|
||||
Blinded(GetPayloadResponse<E>),
|
||||
}
|
||||
|
||||
impl<T: EthSpec> GetPayloadResponse<T> {
|
||||
pub fn execution_payload_ref(&self) -> ExecutionPayloadRef<T> {
|
||||
self.to_ref().into()
|
||||
|
||||
Reference in New Issue
Block a user