Make `Channel::get_announcement_sigs` return an Option and log
authorMatt Corallo <git@bluematt.me>
Tue, 7 Dec 2021 19:11:18 +0000 (19:11 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 21 Dec 2021 00:16:55 +0000 (00:16 +0000)
commitae2eeb877f76ee080dcb69349ee8ab02747be733
tree5c8b443b0fd84d748a0b75020c58b94df4bf86cd
parentd981413b27cadefdfd45b0396925396ace102710
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