From 6cda2011da9e7fc53b728dacd023271604574f99 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 7 Jan 2025 19:57:48 -0800 Subject: remove salt and cipher --- lib/nostr.ts | 4 ++-- lib/utils.ts | 2 -- lib/whitelist.ts | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/nostr.ts b/lib/nostr.ts index aa10f194..f3befa03 100644 --- a/lib/nostr.ts +++ b/lib/nostr.ts @@ -91,9 +91,9 @@ export async function handleZap(invoice) { const r = await Relay.connect(url); await r.publish(signed); setTimeout(() => r.close(), 1000); - } catch(e) {} + } catch (e) {} }); - } catch(e) { + } catch (e) { warn("failed to send receipt", e.message); } } diff --git a/lib/utils.ts b/lib/utils.ts index 61277b10..7dc6b9ef 100644 --- a/lib/utils.ts +++ b/lib/utils.ts @@ -51,11 +51,9 @@ export const bip21 = (address, { amount, memo, tip, type }) => { }; export const fields = [ - "cipher", "pubkey", "password", "username", - "salt", "currency", "currencies", "fiat", diff --git a/lib/whitelist.ts b/lib/whitelist.ts index 01e4ef72..07706432 100644 --- a/lib/whitelist.ts +++ b/lib/whitelist.ts @@ -5,7 +5,6 @@ export default [ "autowithdraw", "balance", "banner", - "cipher", "currencies", "currency", "destination", @@ -36,7 +35,6 @@ export default [ "pubkey", "push", "reserve", - "salt", "seed", "shopifyStore", "shopifyToken", -- cgit v1.2.3