mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
doc: make rpc_command hook chainable
This commit is contained in:
parent
afaaeb3c7d
commit
316457a1de
@ -1198,6 +1198,9 @@ Return a custom error to the request sender:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note: The `rpc_command` hook is chainable. If two or more plugins try to
|
||||||
|
replace/result/error the same `method`, only the first plugin in the chain
|
||||||
|
will be respected. Others will be ignored and a warning will be logged.
|
||||||
|
|
||||||
### `custommsg`
|
### `custommsg`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user