Skip to content

Commit acf6a0c

Browse files
committed
typo fixes found by @niftynei
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 <[email protected]>
1 parent e2cae47 commit acf6a0c

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

common/gossip_store.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct gossip_rcvd_filter;
4444
*/
4545
struct gossip_hdr {
4646
beint16_t flags; /* Length of message after header. */
47-
beint16_t len; /* Length of message after header. */
47+
beint16_t len; /* GOSSIP_STORE_xxx_BIT flags. */
4848
beint32_t crc; /* crc of message of timestamp, after header. */
4949
beint32_t timestamp; /* timestamp of msg. */
5050
};

doc/lightning-listsqlschemas.7.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ On success, an object containing **schemas** is returned. It is an array of obj
8484

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

108108
Main web site: <https://github.com/ElementsProject/lightning>
109-
[comment]: # ( SHA256STAMP:3ac985dd8ef6959b327e6e6a79079db3ad51423bc4e469799a12ae74b2e75697)
109+
[comment]: # ( SHA256STAMP:29ce2ff3f7cab8a4a90d09fa02fa8176008413272d46c0fe7faa6216f11bb2c6)

doc/schemas/listsqlschemas.request.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"type": "object",
44
"required": [],
5+
"added": "v23.02",
56
"properties": {
67
"table": {
78
"type": "string"

doc/schemas/listsqlschemas.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"properties": {
3434
"name": {
3535
"type": "string",
36-
"description": "the name the column"
36+
"description": "the name of the column"
3737
},
3838
"type": {
3939
"type": "string",

doc/schemas/sql.request.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"required": [
55
"query"
66
],
7+
"added": "v23.02",
78
"properties": {
89
"query": {
910
"type": "string"

0 commit comments

Comments
 (0)