mirror of
https://github.com/lightning/bolts.git
synced 2025-01-18 13:22:35 +01:00
clarify that error should target the unkown channel
This commit is contained in:
parent
1de095a0b3
commit
1fd1e76f9e
@ -156,7 +156,7 @@ A sending node:
|
||||
- when sending `error`:
|
||||
- MUST fail the channel referred to by the error message.
|
||||
- SHOULD send `error` for protocol violations or internal errors that make channels unusable or that make further communication unusable.
|
||||
- SHOULD send `error` in reply to messages of type `32`-`255` related to unknown channels.
|
||||
- SHOULD send `error` with the unknown `channel_id` in reply to messages of type `32`-`255` related to unknown channels.
|
||||
- MAY send an empty `data` field.
|
||||
- when failure was caused by an invalid signature check:
|
||||
- SHOULD include the raw, hex-encoded transaction in reply to a `funding_created`, `funding_signed`, `closing_signed`, or `commitment_signed` message.
|
||||
|
Loading…
Reference in New Issue
Block a user