Browse Source

doc: openchannel note close_to can only be set once

master
Michael Schmoock 4 years ago
committed by Rusty Russell
parent
commit
54675546ab
  1. 7
      doc/PLUGINS.md

7
doc/PLUGINS.md

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

Loading…
Cancel
Save