swap target <-> source in race logs (#641)

This commit is contained in:
Svyatoslav Nikolsky
2021-01-13 13:34:33 +03:00
committed by Bastian Köcher
parent e6fc67c705
commit dad5374bc2
@@ -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)
}
}