• Kishan Sagathiya's avatar
    Issue #370 Check if empty peer ID · 59b12b42
    Kishan Sagathiya authored
    On trying to open a new stream against an empty peer ID, we get an
    error saying that failed to dial a peer.
    
    This commit changes that to a more informative error message:
    `empty peer ID`
    59b12b42
swarm_dial.go 12 KB