df: allow for RBF_INIT in sigs states

This commit is contained in:
niftynei 2021-01-25 12:04:02 -06:00 committed by neil saitug
parent 02d99acca1
commit cf170c3909

View File

@ -1577,7 +1577,10 @@ static void handle_peer_tx_sigs_msg(struct subd *dualopend,
send_funding_tx(channel, take(wtx));
channel_set_state(channel, DUALOPEND_OPEN_INIT,
assert(channel->state == DUALOPEND_OPEN_INIT
/* We might be reconnecting */
|| channel->state == DUALOPEND_AWAITING_LOCKIN);
channel_set_state(channel, channel->state,
DUALOPEND_AWAITING_LOCKIN,
REASON_UNKNOWN,
"Sigs exchanged, waiting for lock-in");