mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-11-15 18:12:53 +00:00
Fix log messages
This commit is contained in:
parent
108cc1e6cc
commit
5af3532cbf
@ -296,19 +296,19 @@ impl Behaviour {
|
||||
/// Sends Bob's first message to Alice.
|
||||
pub fn send_message0(&mut self, alice: PeerId, msg: bob::Message0) {
|
||||
self.message0.send(alice, msg);
|
||||
debug!("Sent Message0");
|
||||
debug!("Message0 sent");
|
||||
}
|
||||
|
||||
/// Sends Bob's second message to Alice.
|
||||
pub fn send_message1(&mut self, alice: PeerId, msg: bob::Message1) {
|
||||
self.message1.send(alice, msg);
|
||||
debug!("Sent Message1");
|
||||
debug!("Message1 sent");
|
||||
}
|
||||
|
||||
/// Sends Bob's third message to Alice.
|
||||
pub fn send_message2(&mut self, alice: PeerId, msg: bob::Message2) {
|
||||
self.message2.send(alice, msg);
|
||||
debug!("Sent Message2");
|
||||
debug!("Message2 sent");
|
||||
}
|
||||
|
||||
/// Sends Bob's fourth message to Alice.
|
||||
@ -319,7 +319,7 @@ impl Behaviour {
|
||||
) {
|
||||
let msg = EncryptedSignature { tx_redeem_encsig };
|
||||
self.encrypted_signature.send(alice, msg);
|
||||
debug!("Sent Message3");
|
||||
debug!("Encrypted signature sent");
|
||||
}
|
||||
|
||||
/// Add a known address for the given peer
|
||||
|
Loading…
Reference in New Issue
Block a user