Skip to content

Commit

Permalink
fixup! Port dcutr protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed Jan 16, 2023
1 parent 5d72c51 commit e9ed7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocols/dcutr/src/behaviour_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ impl NetworkBehaviour for Behaviour {
let maybe_direct_connection_id = ConnectionId::next();

self.direct_to_relayed_connections
.insert(maybe_direct_connection_id, maybe_direct_connection_id);
.insert(maybe_direct_connection_id, relayed_connection_id);
*self
.outgoing_direct_connection_attempts
.entry((maybe_direct_connection_id, event_source))
Expand Down

0 comments on commit e9ed7d6

Please sign in to comment.