diff --git a/src/state/validator_record.rs b/src/state/validator_record.rs index f03b43b0c..0f315ecde 100644 --- a/src/state/validator_record.rs +++ b/src/state/validator_record.rs @@ -48,6 +48,16 @@ impl ValidatorRecord { } } +impl Clone for ValidatorRecord { + fn clone(&self) -> ValidatorRecord { + ValidatorRecord { + pubkey: self.pubkey.clone(), + ..*self + + } + } +} + /* * RLP Encoding */