1
0
Fork 0
mirror of https://github.com/lightning/bolts.git synced 2025-03-13 11:35:41 +01:00

BOLT 1: typo fix in definition.

Extra space after : breaks extract-formats.py.  Here's the before/after:

```
 msgdata,pong,byteslen,u16,
 msgdata,pong,ignored,byte,byteslen
 msgtype,peer_storage,7
+msgdata,peer_storage,length,u16,
+msgdata,peer_storage,blob,byte,length
 msgtype,peer_storage_retrieval,9
+msgdata,peer_storage_retrieval,length,u16,
+msgdata,peer_storage_retrieval,blob,byte,length
 tlvtype,n1,tlv1,1
 tlvdata,n1,tlv1,amount_msat,tu64,
 tlvtype,n1,tlv2,2
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2025-02-24 11:58:50 +10:30
parent ccfa38ed4f
commit f8d482bf6c

View file

@ -522,14 +522,14 @@ peers to return the latest data to them using the `peer_storage_retrieval` messa
1. type: 7 (`peer_storage`)
2. data:
* [`u16`: `length`]
* [`length*byte`:`blob`]
* [`u16`:`length`]
* [`length*byte`:`blob`]
1. type: 9 (`peer_storage_retrieval`)
2. data:
* [`u16`: `length`]
* [`length*byte`:`blob`]
* [`u16`:`length`]
* [`length*byte`:`blob`]
Requirements: