dual-fund: keep track of aborted requests, seamlessly restart daemon

Clean restart of daemon after a tx-abort is a nice way to work around
the 'persistent' disconnect that we t-bast noticed.

Changelog-Fixed: `dualopend`: Fix behavior for tx-aborts. No longer hangs, appropriately continues re-init of RBF requests without reconnction msg exchange.
This commit is contained in:
niftynei
2023-07-29 20:41:26 -05:00
committed by Rusty Russell
parent c807db4b7f
commit 9b8909e507
21 changed files with 181 additions and 50 deletions

View File

@@ -83,7 +83,7 @@ bool handle_peer_error(struct per_peer_state *pps,
}
/* We hang up when a warning is received. */
peer_failed_received_errmsg(pps, err, channel_id, warning);
peer_failed_received_errmsg(pps, err, channel_id, warning, false);
}
return false;