Add Clone for validator_record (req. crate update)

This commit is contained in:
Paul Hauner 2018-07-16 11:56:38 +10:00
parent 068ed4255f
commit 6ed6c94791

View File

@ -48,6 +48,16 @@ impl ValidatorRecord {
} }
} }
impl Clone for ValidatorRecord {
fn clone(&self) -> ValidatorRecord {
ValidatorRecord {
pubkey: self.pubkey.clone(),
..*self
}
}
}
/* /*
* RLP Encoding * RLP Encoding
*/ */