lnd: remove sid arg to UpdateShortChanID

This commit is contained in:
Conner Fromknecht committed 2018-05-09 16:07:52 -07:00
1 parent 57551fbd74
commit d6628574ca
1 file changed
+2 -4
+2 -4
View File
@@ -460,11 +460,9 @@ func lndMain() error {
// the chain arb so it can react to on-chain events.
return server.chainArb.WatchNewChannel(channel)
},
ReportShortChanID: func(chanPoint wire.OutPoint,
sid lnwire.ShortChannelID) error {
ReportShortChanID: func(chanPoint wire.OutPoint) error {
cid := lnwire.NewChanIDFromOutPoint(&chanPoint)
return server.htlcSwitch.UpdateShortChanID(cid, sid)
return server.htlcSwitch.UpdateShortChanID(cid)
},
RequiredRemoteChanReserve: func(chanAmt btcutil.Amount) btcutil.Amount {
// By default, we'll require the remote peer to maintain