contractcourt+itest: make sure ChannelArbitrator has the latest htlcs
This commit is contained in:
3 files changed
+7
-6
No files matched your search
@@ -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