/// Returns a reference to DKG summary. Panics if called on a dealings
/// payload.
Returns a reference to DKG summary. Panics if called on a dealings
payload.
Returns a reference to DKG summary . Panics if called on a dealings payload .
pub fn as_summary(&self) -> &dkg::Summary {
        match self {
            BlockPayload::Summary(summary) => summary,
            _ => panic!("No DKG summary available on a block with dealings."),
        }
    }
pub fn as_summary ( & self ) -> & dkg :: Summary { match self { BlockPayload :: Summary ( summary ) => summary , _ => panic ! ( " " ) , } }
Returns a reference to DKG summary.
Returns a reference to DKG summary .
&self