Skip to content

Commit

Permalink
BOLT 2: Error instead of warning on shutdown on unopened channel.
Browse files Browse the repository at this point in the history
Abandoning channel is kinda what they want here.

Reported-by: Matt Corallo
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell committed Aug 30, 2021
1 parent b73be90 commit 4f2ec06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 02-peer-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ A sending node:

A receiving node:
- if it hasn't received a `funding_signed` (if it is a funder) or a `funding_created` (if it is a fundee):
- SHOULD send a `warning`.
- SHOULD send an `error` and fail the channel.
- if the `scriptpubkey` is not in one of the above forms:
- SHOULD send a `warning`.
- if it hasn't sent a `funding_locked` yet:
Expand Down

0 comments on commit 4f2ec06

Please sign in to comment.