oc-peer evolved
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user