diff --git a/routing/pathfind.go b/routing/pathfind.go index 160752e223..e10b4123fa 100644 --- a/routing/pathfind.go +++ b/routing/pathfind.go @@ -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) ( diff --git a/rpcserver.go b/rpcserver.go index e6fb2fc6e5..bc486d527b 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -4636,6 +4636,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) { diff --git a/server.go b/server.go index f219483a59..88ff695c26 100644 --- a/server.go +++ b/server.go @@ -491,6 +491,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,