]> git.bitcoin.ninja Git - rust-lightning/commit
derive(Debug) on Events
authorMatt Corallo <git@bluematt.me>
Fri, 18 Sep 2020 22:01:10 +0000 (18:01 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 18 Sep 2020 22:29:48 +0000 (18:29 -0400)
commite7678d42d9563a84e8c60f57237e5e80df98a4d4
treeb951b1a3b3d7acbb483970bb63ed8e200f218736
parent640ae63a5ab47605207201fb28cdf7f240e86891
derive(Debug) on Events

We'd previously largely not turned on derive(Debug) on any of our
structs, but not for good reason. Especially for Events objects,
Debug can be a very useful for users to quickly print what they
received from us without having to write out a large match.
lightning/src/chain/keysinterface.rs
lightning/src/util/events.rs