This commit is contained in:
Ali Behjati 2023-06-02 15:26:43 +02:00 committed by Reisen
parent 4fa9304b4f
commit 04806a551e
2 changed files with 1 additions and 3 deletions

View File

@ -164,7 +164,7 @@ impl Store {
.enumerate() .enumerate()
.map(|(idx, message)| { .map(|(idx, message)| {
Ok(MessageState::new( Ok(MessageState::new(
message.clone(), *message,
ProofSet { ProofSet {
wormhole_merkle_proof: wormhole_merkle_message_states_proofs wormhole_merkle_proof: wormhole_merkle_message_states_proofs
.get(idx) .get(idx)

View File

@ -13,13 +13,11 @@ pub struct MessageIdentifier {
pub type_: MessageType, pub type_: MessageType,
} }
#[derive(Clone, PartialEq, Debug)] #[derive(Clone, PartialEq, Debug)]
pub struct ProofSet { pub struct ProofSet {
pub wormhole_merkle_proof: WormholeMerkleMessageProof, pub wormhole_merkle_proof: WormholeMerkleMessageProof,
} }
pub type Slot = u64; pub type Slot = u64;
pub type UnixTimestamp = i64; pub type UnixTimestamp = i64;