contractcourt/channel_arbitrator: rename UnilateralClose -> RemoteUnilateralClose
This commit is contained in:
parent
bc6b8a7eeb
commit
40b8cf0adb
@ -1359,7 +1359,7 @@ func (c *ChannelArbitrator) channelAttendant(bestHeight int32) {
|
|||||||
// The remote party has broadcast the commitment on-chain.
|
// The remote party has broadcast the commitment on-chain.
|
||||||
// We'll examine our state to determine if we need to act at
|
// We'll examine our state to determine if we need to act at
|
||||||
// all.
|
// all.
|
||||||
case uniClosure := <-c.cfg.ChainEvents.UnilateralClosure:
|
case uniClosure := <-c.cfg.ChainEvents.RemoteUnilateralClosure:
|
||||||
if c.state != StateDefault {
|
if c.state != StateDefault {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user