mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Dedup Attestation constructor code
This commit is contained in:
@@ -89,6 +89,7 @@ impl<E: EthSpec> Hash for Attestation<E> {
|
||||
}
|
||||
|
||||
impl<E: EthSpec> Attestation<E> {
|
||||
/// Produces an attestation with empty signature.
|
||||
pub fn empty_for_signing(
|
||||
committee_index: u64,
|
||||
committee_length: usize,
|
||||
|
||||
Reference in New Issue
Block a user