fundingmanager: remove sid arg from ReportShortChanID
This commit is contained in:
parent
d6628574ca
commit
2f52e29a5b
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user