mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Add Clone for validator_record (req. crate update)
This commit is contained in:
@@ -48,6 +48,16 @@ impl ValidatorRecord {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Clone for ValidatorRecord {
|
||||||
|
fn clone(&self) -> ValidatorRecord {
|
||||||
|
ValidatorRecord {
|
||||||
|
pubkey: self.pubkey.clone(),
|
||||||
|
..*self
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* RLP Encoding
|
* RLP Encoding
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user