diff options
| author | Adrien Hopkins <[email protected]> | 2026-02-14 09:57:08 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2026-02-14 09:57:08 -0500 |
| commit | 3472f3fb2bb1ca5bbcf03abc181aee6c04ab2acd (patch) | |
| tree | 42ad9f2a128e68fc86b35974c843138d015c57fb | |
| parent | 148699a3e7cf1850b35db4c1b2e94d10ec9ec3fd (diff) | |
| download | coinos-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.ts | 2 |
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. |
