Add Clone for validator_record (req. crate update)
This commit is contained in:
parent
068ed4255f
commit
6ed6c94791
@ -48,6 +48,16 @@ impl ValidatorRecord {
|
||||
}
|
||||
}
|
||||
|
||||
impl Clone for ValidatorRecord {
|
||||
fn clone(&self) -> ValidatorRecord {
|
||||
ValidatorRecord {
|
||||
pubkey: self.pubkey.clone(),
|
||||
..*self
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* RLP Encoding
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user