fix: typo in ExternalAddresses::on_swarm_event (#3297)

Fix typo `swarn` -> `swarm`.
This commit is contained in:
Elena Frank
2023-01-04 17:41:34 +01:00
committed by GitHub
parent dae99a59d7
commit 30640968ac
7 changed files with 7 additions and 7 deletions

View File

@ -264,7 +264,7 @@ impl NetworkBehaviour for Behaviour {
}
fn on_swarm_event(&mut self, event: FromSwarm<Self::ConnectionHandler>) {
self.external_addresses.on_swarn_event(&event);
self.external_addresses.on_swarm_event(&event);
match event {
FromSwarm::ConnectionClosed(connection_closed) => {