Refactor handle_open_channel to wrapper error handling function
authorAntoine Riard <ariard@student.42.fr>
Wed, 5 Sep 2018 00:17:45 +0000 (20:17 -0400)
committerMatt Corallo <git@bluematt.me>
Wed, 5 Sep 2018 00:19:13 +0000 (20:19 -0400)
commit4afbc125688abd0195929994cfa161c7dfb12b0a
treeef467303ebefa0f7bd64c6a62481a32b67a4adab
parentc578e4a346efb4361b53d18525bdb74de07cbae8
Refactor handle_open_channel to wrapper error handling function

Original version is from Antoine Riard <ariard@student.42.fr>,
the error type and some return type fixes are from
Matt Corallo <git@bluematt.me>
src/ln/channelmanager.rs