这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions src/ChainSafe.Gaming.WalletConnect/WalletConnectProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -432,16 +432,6 @@ public override async Task<T> Request<T>(string method, params object[] paramete
}
}

var methodRegistered = session.Namespaces.Any(n => n.Value.Methods.Contains(method));

if (!methodRegistered)
{
throw new WalletConnectException(
$"RPC method {method} is not supported. " +
$"If you add a new method you have to update {nameof(WalletConnectProvider)} code to reflect those changes. " +
"Contact ChainSafe if you think a specific method should be included in the SDK.");
}

var sessionTopic = session.Topic;

EventUtils.ListenOnce<PublishParams>(
Expand Down