Skip to content

Commit 4c527aa

Browse files
committed
Bolt 1: Add where tuXX fields may be used.
As truncated integers are not limited to TLV records with single values (e.g. onion-routing payload type 8 - payment data) we want to further clarify where the tuXX fields can be used. Signed-off-by: Peter Neuroth <[email protected]>
1 parent 60b77f6 commit 4c527aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

01-messaging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Various fundamental types are referred to in the message specifications:
224224
* `u32`: a 4 byte unsigned integer
225225
* `u64`: an 8 byte unsigned integer
226226

227-
Inside TLV records which contain a single value, leading zeros in
227+
For the final value in TLV records, truncated integers may be used. leading zeros in
228228
truncated integers MUST be omitted:
229229

230230
* `tu16`: a 0 to 2 byte truncated unsigned integer

0 commit comments

Comments
 (0)