mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00
UI fixes RIVM-8
This commit is contained in:
parent
7cee94e5cb
commit
f84f0a5f19
5 changed files with 54 additions and 8 deletions
|
@ -21,9 +21,10 @@ import (
|
|||
)
|
||||
|
||||
type SelfInfo struct {
|
||||
Key ed25519.PublicKey
|
||||
Root ed25519.PublicKey
|
||||
Coords []uint64
|
||||
Key ed25519.PublicKey
|
||||
Root ed25519.PublicKey
|
||||
PrivateKey ed25519.PrivateKey
|
||||
Coords []uint64
|
||||
}
|
||||
|
||||
type PeerInfo struct {
|
||||
|
@ -60,6 +61,7 @@ func (c *Core) GetSelf() SelfInfo {
|
|||
var self SelfInfo
|
||||
s := c.PacketConn.PacketConn.Debug.GetSelf()
|
||||
self.Key = s.Key
|
||||
self.PrivateKey = c.secret
|
||||
self.Root = s.Root
|
||||
self.Coords = s.Coords
|
||||
return self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue