fundingmanager: remove sid arg from ReportShortChanID

This commit is contained in:
Conner Fromknecht 2018-05-07 21:19:45 -07:00
parent d6628574ca
commit 2f52e29a5b
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

@ -304,7 +304,7 @@ type fundingConfig struct {
// ReportShortChanID allows the funding manager to report the newly // ReportShortChanID allows the funding manager to report the newly
// discovered short channel ID of a formerly pending channel to outside // discovered short channel ID of a formerly pending channel to outside
// sub-systems. // sub-systems.
ReportShortChanID func(wire.OutPoint, lnwire.ShortChannelID) error ReportShortChanID func(wire.OutPoint) error
// ZombieSweeperInterval is the periodic time interval in which the // ZombieSweeperInterval is the periodic time interval in which the
// zombie sweeper is run. // zombie sweeper is run.
@ -1814,8 +1814,9 @@ func (f *fundingManager) waitForFundingConfirmation(completeChan *channeldb.Open
} }
// As there might already be an active link in the switch with an // As there might already be an active link in the switch with an
// outdated short chan ID, we'll update it now. // outdated short chan ID, we'll instruct the switch to load the updated
err = f.cfg.ReportShortChanID(fundingPoint, shortChanID) // short chan id from disk.
err = f.cfg.ReportShortChanID(fundingPoint)
if err != nil { if err != nil {
fndgLog.Errorf("unable to report short chan id: %v", err) fndgLog.Errorf("unable to report short chan id: %v", err)
} }