Skip to content

Commit

Permalink
msggen: Enable SendCustomMsg
Browse files Browse the repository at this point in the history
  • Loading branch information
dongcarl authored and endothermicdev committed Feb 9, 2023
1 parent 49b3459 commit ef51ae3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/msggen/msggen/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def load_jsonrpc_service(schema_dir: str):
"Ping",
# "plugin",
# "reserveinputs",
# "sendcustommsg",
"SendCustomMsg",
# "sendinvoice",
# "sendonionmessage",
"SetChannel",
Expand Down
18 changes: 18 additions & 0 deletions doc/schemas/sendcustommsg.request.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}

0 comments on commit ef51ae3

Please sign in to comment.