fix peer_remove & peer_add event handler (#27)

This commit is contained in:
Sijie.Sun
2024-03-06 23:52:56 +08:00
committed by GitHub
parent 278a4846f1
commit 5f30747f62
3 changed files with 12 additions and 6 deletions
+2 -2
View File
@@ -220,8 +220,8 @@ impl ManualConnectorManager {
log::warn!("peer conn removed: {:?}", conn_info);
}
GlobalCtxEvent::PeerAdded(..) => todo!(),
GlobalCtxEvent::PeerRemoved(..) => todo!(),
GlobalCtxEvent::PeerAdded(..) => {}
GlobalCtxEvent::PeerRemoved(..) => {}
}
}