@@ -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)
@@ -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;