SnowCait on Nostr: Once decrypt fails, nos2x hangs and all subsequent functions do not return anything. ...
Once decrypt fails, nos2x hangs and all subsequent functions do not return anything.
This does not resolve until nos2x is restarted.
Could you please fix this?
Reproduced code:
https://svelte-5.pages.dev/nos2xThe error message may have appeared when the extension was restarted.
nostter encounters this error because it is rejecting an invalid kind 30000 that were incorrectly used in the past based on whether the list content was decryptable (or empty).
Published at
2025-03-31 07:00:22Event JSON
{
"id": "d7ffad6f66c3f135dc4d1128d18f28143a7557636179e5278d4ae2f3dcea99e7",
"pubkey": "83d52b4363d2d1bc5a098de7be67c120bfb7c0cee8efefd8eb6e42372af24689",
"created_at": 1743404422,
"kind": 1,
"tags": [
[
"e",
"72848e1a613a62323282c3e764092f681cd749368d95c2f7d4bc29abf008d9f8",
"wss://nostr.mom/",
"root"
],
[
"e",
"a109f06a78eb550f61d89abb9447d7d0a287ee7ddd5c8c37ba85145cc56dcb9a",
"",
"reply"
],
[
"p",
"83d52b4363d2d1bc5a098de7be67c120bfb7c0cee8efefd8eb6e42372af24689"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
]
],
"content": "Once decrypt fails, nos2x hangs and all subsequent functions do not return anything.\nThis does not resolve until nos2x is restarted.\nCould you please fix this?\n\nReproduced code:\nhttps://svelte-5.pages.dev/nos2x\n\nThe error message may have appeared when the extension was restarted.\n\nnostter encounters this error because it is rejecting an invalid kind 30000 that were incorrectly used in the past based on whether the list content was decryptable (or empty).",
"sig": "3db58826f0f75714ca4943c46de539ed8017bcd495404766c27e81ad0b5f5a77ddba4ab1b5325cf366f986e24ed4e3d6fdfb96ecf1a9d4bf537ae471e111ac10"
}