msggen: Enable SendCustomMsg

This commit is contained in:
Carl Dong 2023-01-19 18:09:31 -05:00 committed by Alex Myers
parent 49b3459be5
commit ef51ae3c6d
2 changed files with 19 additions and 1 deletions

View File

@ -93,7 +93,7 @@ def load_jsonrpc_service(schema_dir: str):
"Ping",
# "plugin",
# "reserveinputs",
# "sendcustommsg",
"SendCustomMsg",
# "sendinvoice",
# "sendonionmessage",
"SetChannel",

View File

@ -0,0 +1,18 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
"node_id",
"msg"
],
"added": "v0.10.1",
"additionalProperties": false,
"properties": {
"node_id": {
"type": "pubkey"
},
"msg": {
"type": "hex"
}
}
}