mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-15 11:21:03 +02:00
kvdb+watchtower: fix unreachable code
This commit is contained in:
parent
1422df27b2
commit
028959f5a0
@ -104,6 +104,8 @@
|
|||||||
which with the default fee allocation in place will eventually lead to the
|
which with the default fee allocation in place will eventually lead to the
|
||||||
downsizing to the fee floor (1 sat/vByte) in the worst case.
|
downsizing to the fee floor (1 sat/vByte) in the worst case.
|
||||||
|
|
||||||
|
* [Removed](https://github.com/lightningnetwork/lnd/pull/8577) some unreachable code
|
||||||
|
|
||||||
# New Features
|
# New Features
|
||||||
## Functional Enhancements
|
## Functional Enhancements
|
||||||
|
|
||||||
@ -424,6 +426,7 @@ bitcoin peers' feefilter values into account](https://github.com/lightningnetwor
|
|||||||
* Slyghtning
|
* Slyghtning
|
||||||
* Tee8z
|
* Tee8z
|
||||||
* Turtle
|
* Turtle
|
||||||
|
* Hao Wang
|
||||||
* w3irdrobot
|
* w3irdrobot
|
||||||
* Yong Yu
|
* Yong Yu
|
||||||
* Ziggie
|
* Ziggie
|
||||||
|
@ -301,6 +301,4 @@ func GetTestBackend(path, name string) (Backend, func(), error) {
|
|||||||
}
|
}
|
||||||
return db, empty, nil
|
return db, empty, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil, nil, fmt.Errorf("unknown backend")
|
|
||||||
}
|
}
|
||||||
|
@ -333,9 +333,6 @@ tryNextCandidate:
|
|||||||
|
|
||||||
goto retryWithBackoff
|
goto retryWithBackoff
|
||||||
}
|
}
|
||||||
|
|
||||||
// Success.
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -393,8 +390,6 @@ func (n *sessionNegotiator) createSession(tower *Tower, keyIndex uint32) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ErrFailedNegotiation
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// tryAddress executes a single create session dance using the given address.
|
// tryAddress executes a single create session dance using the given address.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user