Skip to content

Commit

Permalink
Fix failing connection with some wallets
Browse files Browse the repository at this point in the history
  • Loading branch information
skibitsky committed Apr 16, 2024
1 parent 585ed2f commit 3d84159
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DefaultVersion>2.3.3</DefaultVersion>
<DefaultVersion>2.3.4</DefaultVersion>
<DefaultTargetFrameworks>net6.0;net7.0;net8.0;netstandard2.1;</DefaultTargetFrameworks>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion WalletConnectSharp.Sign/Engine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ public async Task<ConnectedData> Connect(ConnectOptions options)

async void OnSessionConnected(object sender, SessionStruct session)
{
if (session.PairingTopic != topic)
if (!string.IsNullOrWhiteSpace(session.PairingTopic) && session.PairingTopic != topic)
{
return;
}
Expand Down

0 comments on commit 3d84159

Please sign in to comment.