mleku on Nostr: the other thing is as soon as i put nil guards on all the tag handling functions the ...
the other thing is as soon as i put nil guards on all the tag handling functions the bug has vanished, so, idk even if there was a bug
the functions that were causing panic were searching for specific tags and found nothing so i guess they should be returning nil, probably i just closed up the upstream-most call passing down empty tags that had no results in them anyway
Published at
2025-05-24 02:52:17Event JSON
{
"id": "bddf02a5ba151805a9d9b93b0b60a452b47c2ae10a496730e8943437863713d0",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1748055137,
"kind": 1,
"tags": [
[
"e",
"6d8251eacddb5c32e0585f5dbf595e211407536ea222ad44c350317a8c34e88e",
"wss://theforest.nostr1.com/",
"root"
],
[
"e",
"89ea470dec21b4b342302c8e275240c46f21e173dde1d14f2a8dac79bdf6d2b5",
"wss://theforest.nostr1.com/",
"reply"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "the other thing is as soon as i put nil guards on all the tag handling functions the bug has vanished, so, idk even if there was a bug\n\nthe functions that were causing panic were searching for specific tags and found nothing so i guess they should be returning nil, probably i just closed up the upstream-most call passing down empty tags that had no results in them anyway",
"sig": "da9b9966de6cf77dab8ccddb3de516c2c86ef7d4e63252eac39dd6941d00d17034fa6e1c9e2fafee1a7af20b0bae70b5b78029a1a38c8cdafba1e56f61a22a37"
}