Skip to content

Commit

Permalink
Merge pull request stakwork#640 from saithsab877/Update-Sphinx-LInks-…
Browse files Browse the repository at this point in the history
…with-Correct-V2-pubkey

Fix: Update Sphinx Links with Correct V2 Pubkey Encoding for Adding People from Registry
  • Loading branch information
humansinstitute authored Nov 15, 2024
2 parents 8a7ffb4 + 5e7c8cc commit cd1d81f
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 cd1d81f

Please sign in to comment.