Skip to content

Commit

Permalink
Fix connectedPeers initialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
bahner committed Nov 25, 2023
1 parent 72e426b commit 656b87e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/peers.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

var (
connectedPeers map[string]*peer.AddrInfo
connectedPeers = make(map[string]*peer.AddrInfo)
)

// Get list of connected peers.
Expand Down

0 comments on commit 656b87e

Please sign in to comment.