update badge issuer hardcode to be bech32

This commit is contained in:
lemonknowsall committed 2026-01-07 19:46:01 -08:00
1 parent 27d7096cc2
commit 27e474c16e
1 file changed
+3 -1
+3 -1
View File
@@ -14,8 +14,10 @@ import { cn } from '@/lib/utils';
import { useState, useMemo } from 'react';
import type { NostrEvent } from '@nostrify/nostrify';
import { createAIClient } from '@/lib/ai-client';
import { nip19 } from 'nostr-tools';
const BADGE_ISSUER_PUBKEY = "804a5a94d972d2218d2cc8712881e6f00df09fe7a1a269ccbf916e5c8c17efcc";
const BADGE_ISSUER_NPUB = "npub1e0u5dfurw3dmd0n5lul873c5g3p89et6x372sa35spajcxjh4f6svcvahk";
const BADGE_ISSUER_PUBKEY = nip19.decode(BADGE_ISSUER_NPUB).data as string;
// Badge sync response from the server
interface BadgeSyncResponse {