contractcourt/channel_arbitrator: rename UnilateralClose -> RemoteUnilateralClose

This commit is contained in:
Johan T. Halseth
2018-04-03 13:32:46 +02:00
parent bc6b8a7eeb
commit 40b8cf0adb

View File

@@ -1359,7 +1359,7 @@ func (c *ChannelArbitrator) channelAttendant(bestHeight int32) {
// The remote party has broadcast the commitment on-chain.
// We'll examine our state to determine if we need to act at
// all.
case uniClosure := <-c.cfg.ChainEvents.UnilateralClosure:
case uniClosure := <-c.cfg.ChainEvents.RemoteUnilateralClosure:
if c.state != StateDefault {
continue
}