Skip to content

Commit

Permalink
fix: Ton error message fix (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
y3fers0n authored Dec 10, 2024
1 parent f3ba98d commit 10576a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android/lib/src/main/res/raw/trust_min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/ton/TonBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export class TonBridge implements TonConnectBridge {
if ((e as any)?.code === 4001) {
return {
error: {
message: 'User Rejected the transaction',
message: 'User declined the transaction',
code: 300,
},
id: String(message.id) ?? 0,
Expand All @@ -215,7 +215,7 @@ export class TonBridge implements TonConnectBridge {
) {
return {
error: {
message: 'User Rejected the transaction',
message: 'User declined the transaction',
code: 300,
},
id: String(message.id) ?? 0,
Expand Down

0 comments on commit 10576a5

Please sign in to comment.