df: do the right thing, now that we have a cancellation routine

removes a fixme
This commit is contained in:
niftynei 2021-01-19 19:37:29 -06:00 committed by neil saitug
parent 3da2ae4d30
commit d49db8ad41
1 changed files with 3 additions and 1 deletions

View File

@ -1427,7 +1427,9 @@ static void rbf_got_offer(struct subd *dualopend, const u8 *msg)
&payload->locktime)) {
log_broken(channel->log, "Malformed dualopend_got_rbf_offer %s",
tal_hex(msg, msg));
// FIXME: is this the right thing to do here?
unsaved_channel_disconnect(channel, LOG_BROKEN,
"Malformed internal wire message");
subd_release_channel(dualopend, channel);
tal_free(dualopend);
return;
}