Skip to content

Commit

Permalink
Check persisted state before signing transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
yasincaliskan committed Sep 18, 2024
1 parent 8972e00 commit 87f0987
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PeraWalletConnect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,8 @@ class PeraWalletConnect {
try {
try {
if (walletDetails?.chainId) {
this.checkPersistedState(this.client!);

const response = await this.client!.request<any>({
topic: this.session!.topic,
request: formattedSignTxnRequest,
Expand Down

0 comments on commit 87f0987

Please sign in to comment.