1
0
Fork 0
mirror of https://github.com/lightning/bolts.git synced 2025-02-22 06:21:48 +01:00

BOLT 7: fix hashed data range in the node_announcement.

currently the `alias` is not the last field.
This commit is contained in:
Hiroki Gondo 2018-12-07 19:51:49 +09:00 committed by Rusty Russell
parent 626fff28c9
commit 32d0c65063

View file

@ -313,7 +313,7 @@ The receiving node:
- MUST NOT process the message further.
- if `signature` is NOT a valid signature (using `node_id` of the
double-SHA256 of the entire message following the `signature` field, including
unknown fields following `alias`):
any future fields appended to the end):
- SHOULD fail the connection.
- MUST NOT process the message further.
- if `features` field contains _unknown even bits_: