From 2ec63a61b2c222a0be631834b7b9250cdd8af0e5 Mon Sep 17 00:00:00 2001 From: Elad Gildnur Date: Sun, 15 Sep 2024 18:32:27 +0300 Subject: [PATCH] Fix race cause by using a field that supposed to be read under a lock --- protocol/chainlib/consumer_ws_subscription_manager.go | 1 - 1 file changed, 1 deletion(-) diff --git a/protocol/chainlib/consumer_ws_subscription_manager.go b/protocol/chainlib/consumer_ws_subscription_manager.go index e19420812f..10d8972e38 100644 --- a/protocol/chainlib/consumer_ws_subscription_manager.go +++ b/protocol/chainlib/consumer_ws_subscription_manager.go @@ -201,7 +201,6 @@ func (cwsm *ConsumerWSSubscriptionManager) StartSubscription( utils.LogAttr("GUID", webSocketCtx), utils.LogAttr("hashedParams", utils.ToHexString(hashedParams)), utils.LogAttr("dappKey", dappKey), - utils.LogAttr("connectedDapps", cwsm.connectedDapps), ) websocketRepliesChan := make(chan *pairingtypes.RelayReply)