lnd: remove sid arg to UpdateShortChanID
This commit is contained in:
1 file changed
+2
-4
@@ -460,11 +460,9 @@ func lndMain() error {
|
|||||||
// the chain arb so it can react to on-chain events.
|
// the chain arb so it can react to on-chain events.
|
||||||
return server.chainArb.WatchNewChannel(channel)
|
return server.chainArb.WatchNewChannel(channel)
|
||||||
},
|
},
|
||||||
ReportShortChanID: func(chanPoint wire.OutPoint,
|
ReportShortChanID: func(chanPoint wire.OutPoint) error {
|
||||||
sid lnwire.ShortChannelID) error {
|
|
||||||
|
|
||||||
cid := lnwire.NewChanIDFromOutPoint(&chanPoint)
|
cid := lnwire.NewChanIDFromOutPoint(&chanPoint)
|
||||||
return server.htlcSwitch.UpdateShortChanID(cid, sid)
|
return server.htlcSwitch.UpdateShortChanID(cid)
|
||||||
},
|
},
|
||||||
RequiredRemoteChanReserve: func(chanAmt btcutil.Amount) btcutil.Amount {
|
RequiredRemoteChanReserve: func(chanAmt btcutil.Amount) btcutil.Amount {
|
||||||
// By default, we'll require the remote peer to maintain
|
// By default, we'll require the remote peer to maintain
|
||||||
|
|||||||
Reference in new issue
Block a user