Skip to content

Commit

Permalink
Fix data race in transport store connection
Browse files Browse the repository at this point in the history
  • Loading branch information
bamzedev committed Jan 7, 2025
1 parent 4c69e15 commit bd6b711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/network/transport/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,4 +306,4 @@ func (t *Transport) cleanup(peerKey ed25519.PublicKey) {
t.mu.Lock()
delete(t.conns, string(peerKey))
t.mu.Unlock()
}
}

0 comments on commit bd6b711

Please sign in to comment.