Skip to content

Commit

Permalink
Fix race cause by using a field that supposed to be read under a lock
Browse files Browse the repository at this point in the history
  • Loading branch information
shleikes committed Sep 15, 2024
1 parent f7c62a0 commit 2ec63a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion protocol/chainlib/consumer_ws_subscription_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2ec63a6

Please sign in to comment.