Skip to content

Commit

Permalink
lp-gateway: Create correct inbound entry type
Browse files Browse the repository at this point in the history
  • Loading branch information
cdamian committed Aug 16, 2024
1 parent 5389440 commit 3849801
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pallets/liquidity-pools-gateway/src/message_processing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,17 @@ impl<T: Config> InboundEntry<T> {
expected_proof_count: u32,
) -> Self {
if message.is_proof_message() {
InboundEntry::Proof(ProofEntry {
session_id,
current_count: 1,
})
} else {
InboundEntry::Message(MessageEntry {
session_id,
domain_address,
message,
expected_proof_count,
})
} else {
InboundEntry::Proof(ProofEntry {
session_id,
current_count: 1,
})
}
}

Expand Down

0 comments on commit 3849801

Please sign in to comment.