Skip to content

Commit

Permalink
Format signer name
Browse files Browse the repository at this point in the history
  • Loading branch information
KuznetsovNikita committed May 24, 2024
1 parent cf3dba1 commit 5a3795a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/service/walletService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export const walletStateFromSignerQr = async (api: APIConfig, qrCode: string) =>
publicKey,
active,
revision: 0,
name,
name: name ? Buffer.from(name, 'hex').toString('utf8') : undefined,
auth: { kind: 'signer' },
emoji: getFallbackWalletEmoji(publicKey)
};
Expand All @@ -209,7 +209,7 @@ export const walletStateFromSignerDeepLink = async (
publicKey,
active,
revision: 0,
name: name ?? undefined,
name: name ? Buffer.from(name, 'hex').toString('utf8') : undefined,
auth: { kind: 'signer-deeplink' },
emoji: getFallbackWalletEmoji(publicKey)
};
Expand Down

0 comments on commit 5a3795a

Please sign in to comment.