]> 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>
Sun, 1 Mar 2020 04:26:15 +0000 (23:26 -0500)
commitc7f8ae05151941c51d06caca7cc6ad5d2b0e044d
tree32ca56dad657c5c2dac855f8fd41e68bdf9166e0
parent5171f79dde142a6139e21060e2239074212a5a51
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