multi: remove mempool bool from RegisterSpendNtfn

This commit is contained in:
Johan T. Halseth
2018-07-17 09:13:06 +02:00
parent 02f7f29b97
commit 57e829f47e
4 changed files with 7 additions and 8 deletions

View File

@@ -497,7 +497,7 @@ func (c *ChainArbitrator) Stop() error {
// NOTE: This must be launched as a goroutine.
func (c *ChainArbitrator) watchForChannelClose(closeInfo *channeldb.ChannelCloseSummary) {
spendNtfn, err := c.cfg.Notifier.RegisterSpendNtfn(
&closeInfo.ChanPoint, closeInfo.CloseHeight, false,
&closeInfo.ChanPoint, closeInfo.CloseHeight,
)
if err != nil {
log.Errorf("unable to register for spend: %v", err)