contractcourt/chain_arbitrator: notify the ChannelNotifier on newly closed channels.

This commit is contained in:
Valentine Wallace authored and Valentine Wallace committed 2019-02-05 18:17:54 -08:00
1 parent bdd8ce14c9
commit 10090a978d
2 files changed
+18 -13

No files matched your search

+3 -2
View File
@@ -742,8 +742,9 @@ func newServer(listenAddrs []net.Addr, chanDB *channeldb.DB, cc *chainControl,
DisableChannel: func(op wire.OutPoint) error {
return s.announceChanStatus(op, true)
},
Sweeper: s.sweeper,
SettleInvoice: s.invoices.SettleInvoice,
Sweeper: s.sweeper,
SettleInvoice: s.invoices.SettleInvoice,
NotifyClosedChannel: s.channelNotifier.NotifyClosedChannelEvent,
}, chanDB)
s.breachArbiter = newBreachArbiter(&BreachConfig{