mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
multi: address funlen linter
These should be addressed in a refactor PR.
This commit is contained in:
parent
eea9022459
commit
259b811795
@ -559,6 +559,8 @@ func getOutgoingBalance(ctx context.Context, node route.Vertex,
|
||||
// source. This is to properly accumulate fees that need to be paid along the
|
||||
// path and accurately check the amount to forward at every node against the
|
||||
// available bandwidth.
|
||||
//
|
||||
//nolint:funlen
|
||||
func findPath(ctx context.Context, g *graphParams, r *RestrictParams,
|
||||
cfg *PathFindingConfig, self, source, target route.Vertex,
|
||||
amt lnwire.MilliSatoshi, timePref float64, finalHtlcExpiry int32) (
|
||||
|
@ -4637,6 +4637,8 @@ func encodeCustomChanData(lnChan *channeldb.OpenChannel) ([]byte, error) {
|
||||
}
|
||||
|
||||
// createRPCOpenChannel creates an *lnrpc.Channel from the *channeldb.Channel.
|
||||
//
|
||||
//nolint:funlen
|
||||
func createRPCOpenChannel(ctx context.Context, r *rpcServer,
|
||||
dbChannel *channeldb.OpenChannel, isActive, peerAliasLookup bool) (
|
||||
*lnrpc.Channel, error) {
|
||||
|
@ -492,6 +492,8 @@ func noiseDial(idKey keychain.SingleKeyECDH,
|
||||
|
||||
// newServer creates a new instance of the server which is to listen using the
|
||||
// passed listener address.
|
||||
//
|
||||
//nolint:funlen
|
||||
func newServer(ctx context.Context, cfg *Config, listenAddrs []net.Addr,
|
||||
dbs *DatabaseInstances, cc *chainreg.ChainControl,
|
||||
nodeKeyDesc *keychain.KeyDescriptor,
|
||||
|
Loading…
Reference in New Issue
Block a user