Skip to content

Commit 04806a5

Browse files
ali-behjatiReisen
authored andcommitted
Refactor
1 parent 4fa9304 commit 04806a5

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

hermes/src/store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ impl Store {
164164
.enumerate()
165165
.map(|(idx, message)| {
166166
Ok(MessageState::new(
167-
message.clone(),
167+
*message,
168168
ProofSet {
169169
wormhole_merkle_proof: wormhole_merkle_message_states_proofs
170170
.get(idx)

hermes/src/store/types.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@ pub struct MessageIdentifier {
1313
pub type_: MessageType,
1414
}
1515

16-
1716
#[derive(Clone, PartialEq, Debug)]
1817
pub struct ProofSet {
1918
pub wormhole_merkle_proof: WormholeMerkleMessageProof,
2019
}
2120

22-
2321
pub type Slot = u64;
2422
pub type UnixTimestamp = i64;
2523

0 commit comments

Comments
 (0)