diff --git a/src/nostr/consts.ts b/src/nostr/consts.ts index 210cec6c..685abb71 100644 --- a/src/nostr/consts.ts +++ b/src/nostr/consts.ts @@ -50,6 +50,8 @@ export enum EventKind { export const npubLength = 64 +export const enutsPubkey = 'npub1dx5q2el8nd4eh3eg9t2e25fd7zuqg7zxz6ldkc3uzgh66ss2yc6st288sj' + /** * Regex to match a mnemonic seed */ diff --git a/src/screens/Payment/Processing.tsx b/src/screens/Payment/Processing.tsx index 2aeaea07..b77797be 100644 --- a/src/screens/Payment/Processing.tsx +++ b/src/screens/Payment/Processing.tsx @@ -7,7 +7,7 @@ import type { IMintUrl } from '@model' import type { TBeforeRemoveEvent, TProcessingPageProps } from '@model/nav' import { preventBack } from '@nav/utils' import { relay } from '@nostr/class/Relay' -import { EventKind } from '@nostr/consts' +import { enutsPubkey, EventKind } from '@nostr/consts' import { encrypt } from '@nostr/crypto' import { useThemeContext } from '@src/context/Theme' import { NS } from '@src/i18n' @@ -202,7 +202,7 @@ export default function ProcessingScreen({ navigation, route }: TProcessingPageP ) return } - const msg = `${userNostrNpub || nostr.senderName} just sent you ${amount} Sat in Ecash using the eNuts wallet!\n\n ${token}` + const msg = `${userNostrNpub || nostr.senderName} (sender not verified) just sent you ${amount} Sat in Ecash using ${enutsPubkey}!\n\n ${token}` const cipherTxt = await encrypt(sk, nostr.receiverNpub, msg) const event = { kind: EventKind.DirectMessage,