perlin-network / noise

A decentralized P2P networking stack written in Go.
https://godoc.org/github.com/perlin-network/noise
MIT License
1.78k stars 213 forks source link

Remove empty public key check #293

Closed pocockn closed 3 years ago

pocockn commented 3 years ago

Problem

When we set our own public key on a node it doesn't seem to create the correct ID struct.

Solution

Remove the check to only create the node ID if the public address is empty