mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-16 18:37:51 +01:00
Provide the new sequence number in responses. New message Local Discovery to be sent instead of Announcement via IPv4 Broadcast and IPv6 Multicast.
Detecting IPv6 link-local addresses as local ones. Fixes.
This commit is contained in:
@@ -49,7 +49,7 @@ func initPeerID() {
|
||||
nodeID = publicKey2NodeID(peerPublicKey)
|
||||
|
||||
// save the newly generated private key into the config
|
||||
config.PrivateKey = hex.EncodeToString(peerPublicKey.SerializeCompressed())
|
||||
config.PrivateKey = hex.EncodeToString(peerPrivateKey.Serialize())
|
||||
|
||||
saveConfig()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user