1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 10:00:04 +01:00

Bolt 4: clarify onion test payload contents (#1077)

Adds a comment to the `onion-test.json` file to clarify that the
payloads specified for each hop in the test already include the variable
length encodings.
This commit is contained in:
Elle 2023-05-10 15:06:19 +02:00 committed by GitHub
parent 2bf041f382
commit 1c1eda08a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{ {
"comment": "A testcase for a variable length hop_payload. The third payload is 275 bytes long.", "comment": "A testcase for a variable length hop_payload. The third payload is 275 bytes long. All the payloads already have the variable length encoded.",
"generate": { "generate": {
"session_key": "4141414141414141414141414141414141414141414141414141414141414141", "session_key": "4141414141414141414141414141414141414141414141414141414141414141",
"associated_data": "4242424242424242424242424242424242424242424242424242424242424242", "associated_data": "4242424242424242424242424242424242424242424242424242424242424242",