Skip to content

Commit

Permalink
fix: add onRequest tests + move tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacook committed Oct 2, 2023
1 parent 5c08405 commit 0184e78
Show file tree
Hide file tree
Showing 5 changed files with 482 additions and 224 deletions.
220 changes: 0 additions & 220 deletions src/services/walletconnect/WalletConnectContext.test.tsx

This file was deleted.

2 changes: 2 additions & 0 deletions src/services/walletconnect/WalletConnectContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ export const WalletConnectProvider = ({ children }: { children: ReactNode }) =>
iconUrl: session.peer.metadata.icons[0],
})

console.log('============', response)

// Send response to WalletConnect
await walletConnect.sendSessionResponse(topic, response)
} catch (e) {
Expand Down
Loading

0 comments on commit 0184e78

Please sign in to comment.