mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
Makefile: update to BOLTs without zlib.
This contains a typo fix and a clarification on channel_type, but also removes ZLIB. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -42,7 +42,7 @@ struct short_channel_id *decode_short_ids(const tal_t *ctx, const u8 *encoded)
|
||||
*/
|
||||
type = fromwire_u8(&encoded, &max);
|
||||
switch (type) {
|
||||
case ARR_ZLIB:
|
||||
case ARR_ZLIB_DEPRECATED:
|
||||
encoded = unzlib(tmpctx, encoded, max);
|
||||
if (!encoded)
|
||||
return NULL;
|
||||
@@ -85,7 +85,7 @@ bigsize_t *decode_scid_query_flags(const tal_t *ctx,
|
||||
* - MAY close the connection.
|
||||
*/
|
||||
switch (qf->encoding_type) {
|
||||
case ARR_ZLIB:
|
||||
case ARR_ZLIB_DEPRECATED:
|
||||
encoded = unzlib(tmpctx, encoded, max);
|
||||
if (!encoded)
|
||||
return NULL;
|
||||
@@ -119,7 +119,7 @@ decode_channel_update_timestamps(const tal_t *ctx,
|
||||
/* FIXME: BOLT #7 should have a requirements like it does for
|
||||
* query_short_channel_ids_tlvs! */
|
||||
switch (timestamps_tlv->encoding_type) {
|
||||
case ARR_ZLIB:
|
||||
case ARR_ZLIB_DEPRECATED:
|
||||
encoded = unzlib(tmpctx, encoded, max);
|
||||
if (!encoded)
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user