oc-peer evolved

This commit is contained in:
mr
2026-01-29 16:19:57 +01:00
parent 012e8afe80
commit 7ee9c198d2
3 changed files with 5 additions and 3 deletions

View File

@@ -25,10 +25,10 @@ func ListenNATS() {
pp.Name = p.Name
pp.PeerID = p.PeerID
pp.State = p.State
pp.Url = p.Url
pp.APIUrl = p.APIUrl
pp.PublicKey = p.PublicKey
pp.WalletAddress = p.WalletAddress
pp.NATSUrl = p.NATSUrl
pp.NATSAddress = p.NATSAddress
access.UpdateOne(pp.Serialize(pp), pp.GetID())
} else {
access.StoreOne(p.Serialize(p))