From 84f06959f3dd57a5bb608ea4190a64b177d5d604 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Tue, 3 Apr 2018 14:53:51 +0200 Subject: [PATCH] contractcourt/chain_arbitrator: remove CloseChannel method from ChannelArbitrator config --- contractcourt/chain_arbitrator.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/contractcourt/chain_arbitrator.go b/contractcourt/chain_arbitrator.go index 31917452..95bc071c 100644 --- a/contractcourt/chain_arbitrator.go +++ b/contractcourt/chain_arbitrator.go @@ -232,14 +232,8 @@ func newActiveChannelArbitrator(channel *channeldb.OpenChannel, return chanMachine.ForceClose() }, MarkCommitmentBroadcasted: channel.MarkCommitmentBroadcasted, - CloseChannel: func(summary *channeldb.ChannelCloseSummary) error { - log.Tracef("ChannelArbitrator(%v): closing "+ - "channel", chanPoint) - - return channel.CloseChannel(summary) - }, - ChainArbitratorConfig: c.cfg, - ChainEvents: chanEvents, + ChainArbitratorConfig: c.cfg, + ChainEvents: chanEvents, } // The final component needed is an arbitrator log that the arbitrator