doc: openchannel note close_to can only be set once

This commit is contained in:
Michael Schmoock
2021-01-19 12:37:07 +01:00
committed by Rusty Russell
parent 7106349eab
commit 54675546ab

View File

@@ -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`