mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-28 02:03:32 +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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user