]> git.bitcoin.ninja Git - rust-lightning/commit
Impl ReadableArgs for Arc<ChannelManager>, not just ChannelManager.
authorMatt Corallo <git@bluematt.me>
Mon, 27 Jan 2020 15:38:13 +0000 (10:38 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 3 Feb 2020 02:38:54 +0000 (21:38 -0500)
commit3663f0875abda9566432eecb4ec7cb932dd1ea1a
tree52ca53103e3388e2bbc61707d34537bba09b9e40
parent7728d3b6a86db7a12d591c8947fbe88a94fdffdd
Impl ReadableArgs for Arc<ChannelManager>, not just ChannelManager.

This provides a simple wrapper for deserializing right into an
Arc<ChannelManager>, which improves UX a tiny bit when working with
SimpleArcChannelManager types.
lightning/src/ln/channelmanager.rs