From 543d28e5d256ed2af63683419114369526d0168c Mon Sep 17 00:00:00 2001 From: mr Date: Thu, 5 Feb 2026 15:17:47 +0100 Subject: [PATCH] relation duplicate key --- models/peer/peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/peer/peer.go b/models/peer/peer.go index 54c3387..502d5c9 100644 --- a/models/peer/peer.go +++ b/models/peer/peer.go @@ -70,7 +70,7 @@ type Peer struct { WalletAddress string `json:"wallet_address" bson:"wallet_address" validate:"required"` // WalletAddress is the wallet address of the peer PublicKey string `json:"public_key" bson:"public_key" validate:"required"` // PublicKey is the public key of the peer State PeerState `json:"state" bson:"state" default:"0"` - Relation PeerRelation `json:"relation" bson:"state" default:"0"` + Relation PeerRelation `json:"relation" bson:"relation" default:"0"` ServicesState map[string]int `json:"services_state,omitempty" bson:"services_state,omitempty"` FailedExecution []PeerExecution `json:"failed_execution" bson:"failed_execution"` // FailedExecution is the list of failed executions, to be retried }