lightingd: fix minfee when we're ignoring limits.

Presumably we still want to insist that this have *some* chance to propagate.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2023-08-12 09:44:10 +09:30
parent a9c05d7d16
commit 8f16b0593c

View File

@ -446,7 +446,7 @@ void peer_start_closingd(struct channel *channel, struct peer_fd *peer_fd)
min_feerate = channel->closing_feerate_range[0];
max_feerate = &channel->closing_feerate_range[1];
} else if (channel->ignore_fee_limits || ld->config.ignore_fee_limits) {
min_feerate = 1;
min_feerate = 253;
tal_free(max_feerate);
max_feerate = tal(tmpctx, u32);
*max_feerate = 0xFFFFFFFF;