mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 10:11:11 +02:00
contractcourt+itest: make sure ChannelArbitrator has the latest htlcs
This commit is contained in:
@@ -3089,6 +3089,9 @@ func (c *ChannelArbitrator) channelAttendant(bestHeight int32) {
|
||||
// We've just received a request to forcibly close out the
|
||||
// channel. We'll
|
||||
case closeReq := <-c.forceCloseReqs:
|
||||
log.Infof("ChannelArbitrator(%v): received force "+
|
||||
"close request", c.cfg.ChanPoint)
|
||||
|
||||
if c.state != StateDefault {
|
||||
select {
|
||||
case closeReq.closeTx <- nil:
|
||||
|
Reference in New Issue
Block a user