Description
zero fee routing | CLN
has been sending me bogus onion errors for temporary_channel_failures, which apparently runs "stock version. I run the docker built of 0.10.2".
BOLT 4 is pretty clear here, it says the data should be exactly a 2-byte length followed by a channel_update message:
type: UPDATE|7 (temporary_channel_failure)
data:
[u16:len]
[len*byte:channel_update]
When I decode the channel_update in onion errors from zero fee routing | CLN
I get a two byte 0x0107
(the error code), a two-byte length (in this case 0x008a
), followed by an additional two bytes (0x0102
), followed by a channel update as expected.
The bytes in my most recent payment attempt through it, truncated to the printed length, were:
1007008a010245c5fd1aa01581d6de29c3b01e65682d480dfad3d218f623cea377e22fc325e27a3b4125d2f46e4be9f159e3cc4640564b8c4973e1bab52837afc0fe2ab599116fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d61900000000000b22e800058200006248fbac0101002200000000000000010000000000000000000000049c2c0600