From bc6b8a7eeb93121029d41ca61174c3032736e4f3 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Fri, 16 Mar 2018 15:19:11 +0100 Subject: [PATCH] htlcswitch/link: rename UnilateralClose -> RemoteUnilateralClose --- htlcswitch/link.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htlcswitch/link.go b/htlcswitch/link.go index c18d3332..01b5f2d5 100644 --- a/htlcswitch/link.go +++ b/htlcswitch/link.go @@ -832,7 +832,7 @@ out: // the contract as fully settled. Afterwards we can exit. // // TODO(roasbeef): add force closure? also breach? - case <-l.cfg.ChainEvents.UnilateralClosure: + case <-l.cfg.ChainEvents.RemoteUnilateralClosure: log.Warnf("Remote peer has closed ChannelPoint(%v) on-chain", l.channel.ChannelPoint())