mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-24 09:53:09 -05:00
Move log messages to the appropriate abstraction layer
Log messages are ideally as close to the functionality they are talking about, otherwise we might end up repeating ourselves on several callsites or the log messages gets outdated if the behaviour changes.
This commit is contained in:
parent
b8df4a3145
commit
7387884e6d
8 changed files with 28 additions and 20 deletions
|
|
@ -72,7 +72,6 @@ impl EventLoopHandle {
|
|||
/// Dials other party and wait for the connection to be established.
|
||||
/// Do nothing if we are already connected
|
||||
pub async fn dial(&mut self) -> Result<()> {
|
||||
debug!("Attempt to dial Alice");
|
||||
let _ = self.dial_alice.send(()).await?;
|
||||
|
||||
self.conn_established
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue