refactor(dcutr): don't use OutboundOpenInfo

In a previous refactoring, we actually removed the usage of this openinfo so this is just removing dead code.

Related: #3268.

Pull-Request: #3762.
This commit is contained in:
Thomas Eizinger
2023-04-28 13:33:31 +02:00
committed by GitHub
parent a836bb471f
commit 66466c43af
2 changed files with 4 additions and 8 deletions

View File

@ -133,7 +133,6 @@ impl Behaviour {
handler: NotifyHandler::One(connection_id),
event: Either::Left(handler::relayed::Command::Connect {
obs_addrs: self.observed_addreses(),
attempt: 1,
}),
},
ToSwarm::GenerateEvent(Event::InitiatedDirectConnectionUpgrade {
@ -190,7 +189,6 @@ impl Behaviour {
handler: NotifyHandler::One(relayed_connection_id),
peer_id,
event: Either::Left(handler::relayed::Command::Connect {
attempt: attempt + 1,
obs_addrs: self.observed_addreses(),
}),
})