Make `Channel::get_announcement_sigs` return an Option and log 2021-11-fix-announce-sigs-broadcast-time
authorMatt Corallo <git@bluematt.me>
Tue, 7 Dec 2021 19:11:18 +0000 (19:11 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 26 Jan 2022 18:20:26 +0000 (18:20 +0000)
commited1163a5bfa3ce02daaee505df33fef119556b25
treec22689ddbbdbdbdb4d4407eba697450c6f503a71
parentee7cfa59d1ad569276115769eee18bf03f780a08
Make `Channel::get_announcement_sigs` return an Option and log

Channel::get_announcement_sigs is only used in contexts where we
have a logger already, and the error returned is always ignored, so
instead of returning an ignored error message we return an `Option`
directly and log when it won't be too verbose.
lightning/src/ln/channel.rs