Skip to content

Commit

Permalink
Add interactionNeeded on WC suggest chain, suggest token
Browse files Browse the repository at this point in the history
  • Loading branch information
HeesungB committed May 28, 2024
1 parent ac22fb1 commit df63763
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/mobile/src/stores/wallet-connect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,8 @@ export class WalletConnectStore {
break;
}
case 'keplr_experimentalSuggestChain': {
interactionNeeded = true;

await keplr.experimentalSuggestChain(params.chainInfo);
await signClient.respond({
topic,
Expand All @@ -858,6 +860,8 @@ export class WalletConnectStore {
break;
}
case 'keplr_suggestToken': {
interactionNeeded = true;

await keplr.suggestToken(params.chainId, params.contractAddress);
await signClient.respond({
topic,
Expand Down

0 comments on commit df63763

Please sign in to comment.