Merge pull request #9491 from ziggie1984/closechannel-rpc

Allow coop closing a channel with HTLCs on it via lncli
This commit is contained in:
Oliver Gugger
2025-02-21 05:05:53 -06:00
committed by GitHub
13 changed files with 2472 additions and 2286 deletions

View File

@@ -360,6 +360,9 @@ func (c *ChanCloser) initFeeBaseline() {
)
}
// TODO(ziggie): Make sure the ideal fee is not higher than the max fee.
// Either error out or cap the ideal fee at the max fee.
chancloserLog.Infof("Ideal fee for closure of ChannelPoint(%v) "+
"is: %v sat (max_fee=%v sat)", c.cfg.Channel.ChannelPoint(),
int64(c.idealFeeSat), int64(c.maxFee))