diff --git a/hermes/src/store.rs b/hermes/src/store.rs index 98f6eb7f..b5c05326 100644 --- a/hermes/src/store.rs +++ b/hermes/src/store.rs @@ -164,7 +164,7 @@ impl Store { .enumerate() .map(|(idx, message)| { Ok(MessageState::new( - message.clone(), + *message, ProofSet { wormhole_merkle_proof: wormhole_merkle_message_states_proofs .get(idx) diff --git a/hermes/src/store/types.rs b/hermes/src/store/types.rs index 952c7dc5..67548e10 100644 --- a/hermes/src/store/types.rs +++ b/hermes/src/store/types.rs @@ -13,13 +13,11 @@ pub struct MessageIdentifier { pub type_: MessageType, } - #[derive(Clone, PartialEq, Debug)] pub struct ProofSet { pub wormhole_merkle_proof: WormholeMerkleMessageProof, } - pub type Slot = u64; pub type UnixTimestamp = i64;