Skip to content

Commit 94dee31

Browse files
Add Trust Wallet Support for sendCalls experimental_fallback
1 parent 3bc5e6f commit 94dee31

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/actions/wallet/sendCalls.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,10 @@ export async function sendCalls<
168168
.includes('account upgraded to unsupported contract') ||
169169
error.details.toLowerCase().includes('eip-7702 not supported') ||
170170
error.details.toLowerCase().includes('unsupported wc_ method') ||
171-
error.details.toLowerCase().includes('feature toggled misconfigured'))
171+
// magic.link
172+
error.details.toLowerCase().includes('feature toggled misconfigured') ||
173+
// Trust Wallet
174+
error.details.toLowerCase().includes('jsonrpcengine: response has no error or result for request'))
172175
) {
173176
if (capabilities) {
174177
const hasNonOptionalCapability = Object.values(capabilities).some(

0 commit comments

Comments
 (0)