mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-02 18:02:29 +02:00
multi: formatting and comment fixes
This commit is contained in:
@@ -617,7 +617,6 @@ func (p *Brontide) Start() error {
|
||||
// initGossipSync initializes either a gossip syncer or an initial routing
|
||||
// dump, depending on the negotiated synchronization method.
|
||||
func (p *Brontide) initGossipSync() {
|
||||
|
||||
// If the remote peer knows of the new gossip queries feature, then
|
||||
// we'll create a new gossipSyncer in the AuthenticatedGossiper for it.
|
||||
if p.remoteFeatures.HasFeature(lnwire.GossipQueriesOptional) {
|
||||
@@ -1244,7 +1243,6 @@ func waitUntilLinkActive(p *Brontide,
|
||||
// channel this stream forwards to is held in scope to prevent unnecessary
|
||||
// lookups.
|
||||
func newChanMsgStream(p *Brontide, cid lnwire.ChannelID) *msgStream {
|
||||
|
||||
var chanLink htlcswitch.ChannelUpdateHandler
|
||||
|
||||
apply := func(msg lnwire.Message) {
|
||||
@@ -1568,7 +1566,6 @@ func (p *Brontide) handleError(msg *lnwire.Error) bool {
|
||||
p.storeError(msg)
|
||||
|
||||
switch {
|
||||
|
||||
// In the case of an all-zero channel ID we want to forward the error to
|
||||
// all channels with this peer.
|
||||
case msg.ChanID == lnwire.ConnectionWideID:
|
||||
|
Reference in New Issue
Block a user