doc: make rpc_command hook chainable

This commit is contained in:
Michael Schmoock 2021-01-30 14:36:26 +01:00 committed by Rusty Russell
parent afaaeb3c7d
commit 316457a1de

View File

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