Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit e75f029

Browse files
committed
f Account for peer_{connected,disconnected on CustomMessageHandler
1 parent 0c725c2 commit e75f029

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/manager.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,13 @@ where
569569

570570
features
571571
}
572+
573+
fn peer_disconnected(&self, _: &bitcoin::secp256k1::PublicKey) {}
574+
fn peer_connected(
575+
&self, _: &bitcoin::secp256k1::PublicKey, _: &lightning::ln::msgs::Init, _: bool,
576+
) -> Result<(), ()> {
577+
Ok(())
578+
}
572579
}
573580

574581
impl<ES: Deref + Clone, CM: Deref + Clone, C: Deref + Clone> Listen for LiquidityManager<ES, CM, C>

0 commit comments

Comments
 (0)