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
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -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
}