Skip to content

Commit

Permalink
typo fixes found by @niftynei
Browse files Browse the repository at this point in the history
Also, put the "added" lines in the request schemas for new commands:
this doesn't do anything (yet?) but it keeps `make schema-added-check` happy.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell committed Jan 30, 2023
1 parent cf3f295 commit c2face4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion common/gossip_store.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ struct gossip_rcvd_filter;
*/
struct gossip_hdr {
beint16_t flags; /* Length of message after header. */
beint16_t len; /* Length of message after header. */
beint16_t len; /* GOSSIP_STORE_xxx_BIT flags. */
beint32_t crc; /* crc of message of timestamp, after header. */
beint32_t timestamp; /* timestamp of msg. */
};
Expand Down
4 changes: 2 additions & 2 deletions doc/lightning-listsqlschemas.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ On success, an object containing **schemas** is returned. It is an array of obj

- **tablename** (string): the name of the table
- **columns** (array of objects): the columns, in database order:
- **name** (string): the name the column
- **name** (string): the name of the column
- **type** (string): the SQL type of the column (one of "INTEGER", "BLOB", "TEXT", "REAL")
- **indices** (array of arrays, optional): Any index we created to speed lookups:
- The columns for this index:
Expand All @@ -106,4 +106,4 @@ RESOURCES
---------

Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:3ac985dd8ef6959b327e6e6a79079db3ad51423bc4e469799a12ae74b2e75697)
[comment]: # ( SHA256STAMP:29ce2ff3f7cab8a4a90d09fa02fa8176008413272d46c0fe7faa6216f11bb2c6)
1 change: 1 addition & 0 deletions doc/schemas/listsqlschemas.request.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [],
"added": "v23.02",
"properties": {
"table": {
"type": "string"
Expand Down
2 changes: 1 addition & 1 deletion doc/schemas/listsqlschemas.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"properties": {
"name": {
"type": "string",
"description": "the name the column"
"description": "the name of the column"
},
"type": {
"type": "string",
Expand Down
1 change: 1 addition & 0 deletions doc/schemas/sql.request.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"required": [
"query"
],
"added": "v23.02",
"properties": {
"query": {
"type": "string"
Expand Down

0 comments on commit c2face4

Please sign in to comment.