lightningd/opening_control.c: fundchannel_cancel no longer requires a channel_id argument.

Fixes: #3785

Changelog-Changed: `fundchannel_cancel` no longer requires its undocumented `channel_id` argument after `fundchannel_complete`.
This commit is contained in:
ZmnSCPxj jxPCSnmZ
2020-06-24 12:34:26 +08:00
committed by ZmnSCPxj, ZmnSCPxj jxPCSmnZ
parent 2ab41af8e2
commit deabab8934
7 changed files with 56 additions and 73 deletions

View File

@@ -49,6 +49,8 @@ static const errcode_t FUNDING_BROADCAST_FAIL = 303;
static const errcode_t FUNDING_STILL_SYNCING_BITCOIN = 304;
static const errcode_t FUNDING_PEER_NOT_CONNECTED = 305;
static const errcode_t FUNDING_UNKNOWN_PEER = 306;
static const errcode_t FUNDING_NOTHING_TO_CANCEL = 307;
static const errcode_t FUNDING_CANCEL_NOT_SAFE = 308;
/* `connect` errors */
static const errcode_t CONNECT_NO_KNOWN_ADDRESS = 400;