UI fixes RIVM-8

This commit is contained in:
Mihail Slobodyanuk 2022-12-08 14:32:56 +02:00
parent 7cee94e5cb
commit f84f0a5f19
5 changed files with 54 additions and 8 deletions

View file

@ -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