diff --git a/contracts/lib/eigenlayer-middleware b/contracts/lib/eigenlayer-middleware index c5b419a82f..74c86d21ba 160000 --- a/contracts/lib/eigenlayer-middleware +++ b/contracts/lib/eigenlayer-middleware @@ -1 +1 @@ -Subproject commit c5b419a82fcca1b64aacd32026ce8d4459b80e35 +Subproject commit 74c86d21ba6dcdc060a01f9933085076f9f6facd diff --git a/node/node.go b/node/node.go index 393408483e..be334686d8 100644 --- a/node/node.go +++ b/node/node.go @@ -459,8 +459,9 @@ func (n *Node) checkCurrentNodeIp(ctx context.Context) { } } +// OperatorReachabilityResponse is the response object for the reachability check type OperatorReachabilityResponse struct { - OperatorId string `json:"operator_id"` + OperatorID string `json:"operator_id"` DispersalSocket string `json:"dispersal_socket"` RetrievalSocket string `json:"retrieval_socket"` DispersalOnline bool `json:"dispersal_online"` @@ -511,7 +512,10 @@ func (n *Node) checkNodeReachability() { } var responseObject OperatorReachabilityResponse - json.Unmarshal(data, &responseObject) + err = json.Unmarshal(data, &responseObject) + if err != nil { + n.Logger.Error("Reachability check failed to unmarshal json responmse", err) + } if responseObject.DispersalOnline { n.Logger.Info("Reachability check - dispersal socket is ONLINE", "socket", responseObject.DispersalSocket) } else {