]> 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>
Wed, 4 Mar 2020 19:29:06 +0000 (14:29 -0500)
commit39b62335b737e0ad40fc76aefb3d5d24ef64497a
tree5d770e4f9b60b89bf79a0d6d6d5697265ee0f0d2
parentc1dc8e39a7e8a680fdc92dc40887a3c388256c78
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