]> git.bitcoin.ninja Git - rust-lightning/commit
Introduce a Channel-specific Err type and return it in a few places
authorMatt Corallo <git@bluematt.me>
Sun, 30 Sep 2018 22:19:59 +0000 (18:19 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 1 Oct 2018 00:05:38 +0000 (20:05 -0400)
commitaa2021dff5f7a444b26a1db0bb4d895eaeabf71e
treeb3a1e15c471a0a2060029395016485def2964899
parent6c1123cafd5e4821042e6f57efdf83af62e6fc6a
Introduce a Channel-specific Err type and return it in a few places

This is way simpler than writing out the whole ErrorAction mess and
we can just convert it as appropriate in ChannelManager.
src/ln/channel.rs
src/ln/channelmanager.rs