Use option TLV decoding for short_channel_id
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 22 Oct 2021 05:27:58 +0000 (00:27 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 25 Oct 2021 15:18:12 +0000 (10:18 -0500)
commit8e7ceabe48a15f00b0baca64f1dfb86614f2c58b
tree7dfa36960f599ecd76895c5683f38da2d866447e
parent46b68c517dba57bde545ea8e56b47fe3af768579
Use option TLV decoding for short_channel_id

Using ignorable TLV decoding is only applicable for an Option containing
an enum, but short_channel_id is an Option<u64>. Use option TLV encoding
instead.
lightning/src/util/events.rs