aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrien Hopkins <[email protected]>2026-02-14 09:57:08 -0500
committerAdrien Hopkins <[email protected]>2026-02-14 09:57:08 -0500
commit3472f3fb2bb1ca5bbcf03abc181aee6c04ab2acd (patch)
tree42ad9f2a128e68fc86b35974c843138d015c57fb
parent148699a3e7cf1850b35db4c1b2e94d10ec9ec3fd (diff)
downloadcoinos-ui-3472f3fb2bb1ca5bbcf03abc181aee6c04ab2acd.tar.gz
coinos-ui-3472f3fb2bb1ca5bbcf03abc181aee6c04ab2acd.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.
-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 6f29940d..9a6d01f6 100644
--- a/src/lib/nip17.ts
+++ b/src/lib/nip17.ts
@@ -19,7 +19,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.