Skip to content

Commit

Permalink
Merge pull request #170 from WalletConnect/fix/relay-reconnect
Browse files Browse the repository at this point in the history
fix: reconnection to the Relay web socket after 5min timeout (regression)
  • Loading branch information
skibitsky authored Dec 21, 2023
2 parents 3efd287 + b42a317 commit 76487d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WalletConnectSharp.Core/Controllers/Subscriber.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,12 +195,12 @@ protected virtual void RegisterEventListeners()
CheckPending();
};

_relayer.Provider.Connected += (sender, connection) =>
_relayer.OnConnected += (sender, connection) =>
{
OnConnect();
};

_relayer.Provider.Disconnected += (sender, args) =>
_relayer.OnDisconnected += (sender, args) =>
{
OnDisconnect();
};
Expand Down

0 comments on commit 76487d7

Please sign in to comment.