mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 09:04:25 +01:00
doc: openchannel note close_to can only be set once
This commit is contained in:
committed by
Rusty Russell
parent
7106349eab
commit
54675546ab
@@ -990,7 +990,12 @@ e.g.
|
||||
}
|
||||
```
|
||||
|
||||
Note that `close_to` must be a valid address for the current chain; an invalid address will cause the node to exit with an error.
|
||||
Note that `close_to` must be a valid address for the current chain,
|
||||
an invalid address will cause the node to exit with an error.
|
||||
|
||||
Note that `openchannel` is a chained hook. Therefore `close_to` will only be
|
||||
evaluated for the first plugin that sets it. If more than one plugin tries to
|
||||
set a `close_to` address an error will be logged.
|
||||
|
||||
|
||||
### `htlc_accepted`
|
||||
|
||||
Reference in New Issue
Block a user