cesardias on Nostr: Anyone any idea on why this nevent1 is broken on nostr-tools? it works on `nak`. `nak ...
Anyone any idea on why this nevent1 is broken on nostr-tools? it works on `nak`.
`nak decode nevent1qqsr3n57p07s736jmp8ct82hz92y080g9rglt63qrj4edg4pd7vpt3gpp4mhxue69uhkummn9ekx7mqzgq6rve3kv93kge3exqmrgv3nxscnyvnxvycrsvrxx4jrjetxxcun2denvsmnjvfsxsux2vrzxg6nvd3nxpnrsctxxgunvvenx93rvefhntdeca`
`require('nostr-tools').nip19.decode('nevent1qqsr3n57p07s736jmp8ct82hz92y080g9rglt63qrj4edg4pd7vpt3gpp4mhxue69uhkummn9ekx7mqzgq6rve3kv93kge3exqmrgv3nxscnyvnxvycrsvrxx4jrjetxxcun2denvsmnjvfsxsux2vrzxg6nvd3nxpnrsctxxgunvvenx93rvefhntdeca')`
Uncaught Error: TLV 2 should be 32 bytes
If anyone knows more about this, please give your assessment.
nevent1q…deca
Published at
2024-03-06 09:06:15Event JSON
{
"id": "e816416cd12ef71fd3359973e3f2e2ba4a2b4e037c0beacf61fdd07553f0123d",
"pubkey": "c6603b0f1ccfec625d9c08b753e4f774eaf7d1cf2769223125b5fd4da728019e",
"created_at": 1709715975,
"kind": 1,
"tags": [
[
"e",
"600502fe324f95aebd749bd700c6f17619fc768700d1b228a6a691f81672cf2b",
"wss://pyramid.fiatjaf.com/",
"mention"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"wss://pyramid.fiatjaf.com/",
"fiatjaf"
]
],
"content": "Anyone any idea on why this nevent1 is broken on nostr-tools? it works on `nak`.\n\n`nak decode nevent1qqsr3n57p07s736jmp8ct82hz92y080g9rglt63qrj4edg4pd7vpt3gpp4mhxue69uhkummn9ekx7mqzgq6rve3kv93kge3exqmrgv3nxscnyvnxvycrsvrxx4jrjetxxcun2denvsmnjvfsxsux2vrzxg6nvd3nxpnrsctxxgunvvenx93rvefhntdeca`\n\n`require('nostr-tools').nip19.decode('nevent1qqsr3n57p07s736jmp8ct82hz92y080g9rglt63qrj4edg4pd7vpt3gpp4mhxue69uhkummn9ekx7mqzgq6rve3kv93kge3exqmrgv3nxscnyvnxvycrsvrxx4jrjetxxcun2denvsmnjvfsxsux2vrzxg6nvd3nxpnrsctxxgunvvenx93rvefhntdeca')`\n\nUncaught Error: TLV 2 should be 32 bytes\n\nnostr:nevent1qyd8wumn8ghj7urewfsk66ty9enxjct5dfskvtnrdakj7qgmwaehxw309aex2mrp0yh8wetnw3jhymnzw33jucm0d5hsz9mhwden5te0wfjkccte9ehx7um5wghxyctwvshsqgrqq5p0uvj0jkht6aym6uqvdutkr878dpcq6xez3f4xj8upvuk09vgcdezs",
"sig": "90854f74128265406177025efb53d33fb554dd2461ef4767e3c3a8c6fb6afd207b7d30a47640cc55ff22e9eceab59273c16a88103a24f1719eab4d11ccd62681"
}