Skip to content

Commit

Permalink
swap target <-> source in race logs (paritytech#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatonik authored and serban300 committed Apr 8, 2024
1 parent 85a8287 commit 938652b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bridges/relays/messages-relay/src/message_race_receiving.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ impl<P: MessageLane> MessageRace for ReceivingConfirmationsRace<P> {
type Proof = P::MessagesReceivingProof;

fn source_name() -> String {
format!("{}::ReceivingConfirmationsDelivery", P::SOURCE_NAME)
format!("{}::ReceivingConfirmationsDelivery", P::TARGET_NAME)
}

fn target_name() -> String {
format!("{}::ReceivingConfirmationsDelivery", P::TARGET_NAME)
format!("{}::ReceivingConfirmationsDelivery", P::SOURCE_NAME)
}
}

Expand Down

0 comments on commit 938652b

Please sign in to comment.