mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
Update to new spec: differentiate channel_id and short_channel_id.
The spec 4af8e1841151f0c6e8151979d6c89d11839b2f65 uses a 32-byte 'channel-id' field, not to be confused with the 8-byte short ID used by gossip. Rename appropriately, and update to the new handshake protocol. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -267,7 +267,7 @@ enum channel_add_err channel_add_htlc(struct channel *channel,
|
||||
*
|
||||
* 1. type: 128 (`update_add_htlc`)
|
||||
* 2. data:
|
||||
* * [8:channel-id]
|
||||
* * [32:channel-id]
|
||||
* * [8:id]
|
||||
* * [4:amount-msat]
|
||||
* * [4:cltv-expiry]
|
||||
|
||||
Reference in New Issue
Block a user