bolt: update to lightning-rfc:6f6ea63233c new fundamental types

RFC tweaks to the types used to specify message fields
This commit is contained in:
lisa neigut
2019-07-15 18:31:19 -05:00
committed by Rusty Russell
parent 5c07afac7d
commit 85e325cb1f
3 changed files with 13 additions and 11 deletions

View File

@@ -161,6 +161,8 @@ class Type(FieldSet):
('satoshis', 'u64'): ('amount_sat', False),
('node_id', 'pubkey'): ('node_id', False),
('temporary_channel_id', 'u8'): ('channel_id', True),
('secret', 'u8'): ('secret', True),
('preimage', 'u8'): ('preimage', True),
}
# For BOLT specified types, a few type names need to be simply 'remapped'