This commit is contained in:
Neil Alexander 2019-03-29 18:24:57 +00:00
parent f19a4e4398
commit 4c0c3a23cb
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
5 changed files with 13 additions and 13 deletions

View file

@ -267,12 +267,12 @@ func (c *Core) NewSigningKeys() (*crypto.SigPubKey, *crypto.SigPrivKey) {
// NodeID gets the node ID.
func (c *Core) NodeID() *crypto.NodeID {
return crypto.NodeID(&c.boxPub)
return crypto.GetNodeID(&c.boxPub)
}
// TreeID gets the tree ID.
func (c *Core) TreeID() *crypto.TreeID {
return crypto.TreeID(&c.sigPub)
return crypto.GetTreeID(&c.sigPub)
}
// Address gets the IPv6 address of the Yggdrasil node. This is always a /128