openoms on Nostr: This was a rather simple issue: the TXT record is limited to 255 bytes so the offer ...
This was a rather simple issue: the TXT record is limited to 255 bytes so the offer is broken up to two strings.
When passing the full offer lndk-cli can decode, but cannot get an invoice (your phone didn't wake up I presume)
CLN still cannot decode the same string:
{
"code": -32602,
"message": "Invalid bolt12: unexpected prefix lno"
}
Looking forward to send you some sats from an LND + LNDK node when your phone is back online with Phoenix running.
Published at
2024-09-12 07:15:55Event JSON
{
"id": "08b5f335585b845167419be6240e7722e6cc08fbb4062dbf5a5dc67f088b0920",
"pubkey": "aac07d95089ce6adf08b9156d43c1a4ab594c6130b7dcb12ec199008c5819a2f",
"created_at": 1726125355,
"kind": 1,
"tags": [
[
"e",
"a9013d6bed50e531fd362cc1cb9c30314ada97ba5d68a90296533d320507d0d2",
"",
"root"
],
[
"e",
"7eac6b681292259ad88b53df36ed077411e99eecea1b0ffd7bfe46490fbd7753",
"",
"reply"
],
[
"p",
"50ad69ef936e893e289d0ac1ddcde051792cfb708ec00d738fa30adf2f4b4708",
"",
"mention"
]
],
"content": "This was a rather simple issue: the TXT record is limited to 255 bytes so the offer is broken up to two strings.\nhttps://image.nostr.build/05cc9fb96458ed6b4ca01c536fea82755d549e48977d36d9b6ab52ee46ffccd5.png\nWhen passing the full offer lndk-cli can decode, but cannot get an invoice (your phone didn't wake up I presume)\nCLN still cannot decode the same string:\n{\n \"code\": -32602,\n \"message\": \"Invalid bolt12: unexpected prefix lno\"\n}\nLooking forward to send you some sats from an LND + LNDK node when your phone is back online with Phoenix running.",
"sig": "9e901ae4f78b8c5fb95ad0c5d26bb67f26f91d2801188138c9df799368404fa86c78cd3a64261ae2e7d8d6a88a4b9d012b3ceff09e94c732b4e285772d5a81f3"
}