mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
tools/generate-wire.py: mark your_last_per_commitment_secret as a struct secret.
Without an override, the tool assumes it's a sha256. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
b123b1867d
commit
61c6b8b25a
@@ -78,7 +78,8 @@ typemap = {
|
|||||||
('announcement_signatures', 'short_channel_id'): FieldType('struct short_channel_id'),
|
('announcement_signatures', 'short_channel_id'): FieldType('struct short_channel_id'),
|
||||||
('channel_announcement', 'short_channel_id'): FieldType('struct short_channel_id'),
|
('channel_announcement', 'short_channel_id'): FieldType('struct short_channel_id'),
|
||||||
('channel_update', 'short_channel_id'): FieldType('struct short_channel_id'),
|
('channel_update', 'short_channel_id'): FieldType('struct short_channel_id'),
|
||||||
('revoke_and_ack', 'per_commitment_secret'): FieldType('struct secret')
|
('revoke_and_ack', 'per_commitment_secret'): FieldType('struct secret'),
|
||||||
|
('channel_reestablish_option_data_loss_protect', 'your_last_per_commitment_secret'): FieldType('struct secret')
|
||||||
}
|
}
|
||||||
|
|
||||||
# Partial names that map to a datatype
|
# Partial names that map to a datatype
|
||||||
|
|||||||
Reference in New Issue
Block a user