aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorAdrien Hopkins <[email protected]>2026-02-14 09:57:08 -0500
committerAdam Soltys <[email protected]>2026-02-14 17:50:13 -0800
commite4fcbff25f21c21bc5259b41f409f79516b5ab60 (patch)
treed44de95290d3f85ea30903cb297e5424300e4c53 /src/lib
parent67e4701cfbc99aaafc6c8418053439d62337e18b (diff)
downloadcoinos-ui-e4fcbff25f21c21bc5259b41f409f79516b5ab60.tar.gz
coinos-ui-e4fcbff25f21c21bc5259b41f409f79516b5ab60.zip
Increase DM fetch limit to 2^16
Given that this is for all recipients combined, 2^16 is much more reasonable than 2^8.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/nip17.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/nip17.ts b/src/lib/nip17.ts
index 49312783..850b2474 100644
--- a/src/lib/nip17.ts
+++ b/src/lib/nip17.ts
@@ -18,7 +18,7 @@ let relayListCache = new Map();
import { PUBLIC_DM_RELAYS } from "$env/static/public";
const DM_RELAYS_LIST = PUBLIC_DM_RELAYS.split(",");
-const DM_FETCH_LIMIT = 256;
+const DM_FETCH_LIMIT = 65536;
// Ensures we have access to a secret key, triggering the signer modal if needed.
// Returns the sk as Uint8Array, or null if using NIP-07 extension.