Skip to content

Commit 38371e4

Browse files
committed
Fix provider walletConnect on native
1 parent 6ef31ae commit 38371e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Assets/Thirdweb/Core/Scripts/Wallet.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ namespace Thirdweb
2020
/// </summary>
2121
public class Wallet : Routable
2222
{
23-
public Wallet() : base($"sdk{subSeparator}wallet") { }
23+
public Wallet()
24+
: base($"sdk{subSeparator}wallet") { }
2425

2526
/// <summary>
2627
/// Connect a user's wallet via a given wallet provider
@@ -52,7 +53,7 @@ public async Task<string> Connect(WalletConnection? walletConnection = null)
5253
}
5354
else
5455
{
55-
if (walletConnection?.provider?.ToString() == "walletConnect")
56+
if (walletConnection?.provider?.ToString() == "walletConnectV1")
5657
{
5758
await WalletConnect.Instance.EnableWalletConnect();
5859

0 commit comments

Comments
 (0)