Skip to content

Commit

Permalink
Update Sphinx LInks with Correct V2 pubkey
Browse files Browse the repository at this point in the history
  • Loading branch information
saithsab877 committed Nov 14, 2024
1 parent 5697b3e commit 5e7c8cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/people/utils/ConnectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default function ConnectCard(props: ConnectCardProps) {

const qrString = person && person?.owner_pubkey ? makeConnectQR(person?.owner_pubkey) : '';
const ownerPubkey = person && person?.owner_pubkey ? `${person.owner_pubkey}` : '';
const routeHint = person && person?.owner_route_hint ? `:${person.owner_route_hint}` : '';
const routeHint = person && person?.owner_route_hint ? `_${person.owner_route_hint}` : '';

return (
<div onClick={(e: any) => e.stopPropagation()}>
Expand Down
2 changes: 1 addition & 1 deletion src/people/widgetViews/AboutView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export const AboutView = observer((props: AboutViewProps) => {
<Divider />

{owner_pubkey && (
<QrBar data-testid="user-pubkey" value={`${owner_pubkey}:${owner_route_hint}`} />
<QrBar data-testid="user-pubkey" value={`${owner_pubkey}_${owner_route_hint}`} />
)}

{tag && (
Expand Down

0 comments on commit 5e7c8cc

Please sign in to comment.