What changed, and why it matters
This commit is a routine dependency housekeeping change. It removes two temporary local overrides in the Go module file and switches to published versions of internal helper packages (fn v2.0.9 and sqldb v1.0.11). There is no indication in the commit or supplied references that this fixes a security issue.
No security action needed. Treat as normal dependency maintenance; verify the new module versions build and pass tests as usual.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff only touches go.mod and go.sum. It deletes two replace directives that pointed github.com/lightningnetwork/lnd/sqldb and github.com/lightningnetwork/lnd/fn/v2 to local directories, and bumps their required versions to the newly tagged v1.0.11 and v2.0.9 respectively. go.sum is updated with the new module hashes. No application code changes are present.
Changed components
go.mod dependency managementgithub.com/lightningnetwork/lnd/sqldbgithub.com/lightningnetwork/lnd/fn/v2Inspect captured patch +6 / −9
diff --git a/go.mod b/go.mod
index 9898b4d..0253469 100644
--- a/go.mod
+++ b/go.mod
@@ -35,11 +35,11 @@ require (
github.com/lightningnetwork/lightning-onion v1.2.1-0.20240815225420-8b40adf04ab9
github.com/lightningnetwork/lnd/cert v1.2.2
github.com/lightningnetwork/lnd/clock v1.1.1
- github.com/lightningnetwork/lnd/fn/v2 v2.0.8
+ github.com/lightningnetwork/lnd/fn/v2 v2.0.9
github.com/lightningnetwork/lnd/healthcheck v1.2.6
github.com/lightningnetwork/lnd/kvdb v1.4.16
github.com/lightningnetwork/lnd/queue v1.1.1
- github.com/lightningnetwork/lnd/sqldb v1.0.10
+ github.com/lightningnetwork/lnd/sqldb v1.0.11
github.com/lightningnetwork/lnd/ticker v1.1.1
github.com/lightningnetwork/lnd/tlv v1.3.2
github.com/lightningnetwork/lnd/tor v1.1.6
@@ -202,13 +202,6 @@ require (
sigs.k8s.io/yaml v1.2.0 // indirect
)
-// TODO(elle): remove once all the schemas and queries for the graph
-// store have been included in a tagged sqldb version.
-replace github.com/lightningnetwork/lnd/sqldb => ./sqldb
-
-// Replace fn package to use local version with iterator Collect function.
-replace github.com/lightningnetwork/lnd/fn/v2 => ./fn
-
// This replace is for https://github.com/advisories/GHSA-25xm-hr59-7c27
replace github.com/ulikunitz/xz => github.com/ulikunitz/xz v0.5.11
diff --git a/go.sum b/go.sum
index ae6f41d..4c1780d 100644
--- a/go.sum
+++ b/go.sum
@@ -374,12 +374,16 @@ github.com/lightningnetwork/lnd/cert v1.2.2 h1:71YK6hogeJtxSxw2teq3eGeuy4rHGKcFf
github.com/lightningnetwork/lnd/cert v1.2.2/go.mod h1:jQmFn/Ez4zhDgq2hnYSw8r35bqGVxViXhX6Cd7HXM6U=
github.com/lightningnetwork/lnd/clock v1.1.1 h1:OfR3/zcJd2RhH0RU+zX/77c0ZiOnIMsDIBjgjWdZgA0=
github.com/lightningnetwork/lnd/clock v1.1.1/go.mod h1:mGnAhPyjYZQJmebS7aevElXKTFDuO+uNFFfMXK1W8xQ=
+github.com/lightningnetwork/lnd/fn/v2 v2.0.9 h1:ZytG4ltPac/sCyg1EJDn10RGzPIDJeyennUMRdOw7Y8=
+github.com/lightningnetwork/lnd/fn/v2 v2.0.9/go.mod h1:aPUJHJ31S+Lgoo8I5SxDIjnmeCifqujaiTXKZqpav3w=
github.com/lightningnetwork/lnd/healthcheck v1.2.6 h1:1sWhqr93GdkWy4+6U7JxBfcyZIE78MhIHTJZfPx7qqI=
github.com/lightningnetwork/lnd/healthcheck v1.2.6/go.mod h1:Mu02um4CWY/zdTOvFje7WJgJcHyX2zq/FG3MhOAiGaQ=
github.com/lightningnetwork/lnd/kvdb v1.4.16 h1:9BZgWdDfjmHRHLS97cz39bVuBAqMc4/p3HX1xtUdbDI=
github.com/lightningnetwork/lnd/kvdb v1.4.16/go.mod h1:HW+bvwkxNaopkz3oIgBV6NEnV4jCEZCACFUcNg4xSjM=
github.com/lightningnetwork/lnd/queue v1.1.1 h1:99ovBlpM9B0FRCGYJo6RSFDlt8/vOkQQZznVb18iNMI=
github.com/lightningnetwork/lnd/queue v1.1.1/go.mod h1:7A6nC1Qrm32FHuhx/mi1cieAiBZo5O6l8IBIoQxvkz4=
+github.com/lightningnetwork/lnd/sqldb v1.0.11 h1:X8J3OvdIhJVniQG78Qsp3niErl1zdGMTPvzgiLMWOOo=
+github.com/lightningnetwork/lnd/sqldb v1.0.11/go.mod h1:oOdZ7vjmAUmI9He+aFHTunnxKVefHZAfJttZdz16hSg=
github.com/lightningnetwork/lnd/ticker v1.1.1 h1:J/b6N2hibFtC7JLV77ULQp++QLtCwT6ijJlbdiZFbSM=
github.com/lightningnetwork/lnd/ticker v1.1.1/go.mod h1:waPTRAAcwtu7Ji3+3k+u/xH5GHovTsCoSVpho0KDvdA=
github.com/lightningnetwork/lnd/tlv v1.3.2 h1:MO4FCk7F4k5xPMqVZF6Nb/kOpxlwPrUQpYjmyKny5s0=
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.