What changed, and why it matters
This commit is a routine dependency housekeeping change. It switches two internal Go modules (tlv and tor) from using local source code replacements to using published tagged versions. There is no code change in this repository and no security relevance stated by the project.
No action needed for this commit itself. As part of normal dependency hygiene, verify that tlv v1.4.0 and tor v1.2.0 release notes do not contain security fixes that would affect lnd, but this commit does not introduce or fix any vulnerability.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit updates go.mod and go.sum only. It removes local replace directives for github.com/lightningnetwork/lnd/tlv and github.com/lightningnetwork/lnd/tor, and pins them to tagged releases v1.4.0 and v1.2.0 respectively. No application code in the lnd repository is modified. The commit message does not describe any bug fix, security fix, or functional change.
Changed components
go.mod dependency declarationsgo.sum checksumsInspect captured patch +6 / −6
diff --git a/go.mod b/go.mod
index d17815d..2c064a0 100644
--- a/go.mod
+++ b/go.mod
@@ -46,8 +46,8 @@ require (
github.com/lightningnetwork/lnd/queue v1.2.0
github.com/lightningnetwork/lnd/sqldb v1.0.13
github.com/lightningnetwork/lnd/ticker v1.1.1
- github.com/lightningnetwork/lnd/tlv v1.3.3-0.20260615022959-a067468f0f45
- github.com/lightningnetwork/lnd/tor v1.1.8-0.20260615022959-a067468f0f45
+ github.com/lightningnetwork/lnd/tlv v1.4.0
+ github.com/lightningnetwork/lnd/tor v1.2.0
github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796
github.com/miekg/dns v1.1.43
github.com/prometheus/client_golang v1.23.2
@@ -235,7 +235,3 @@ replace github.com/lightningnetwork/lnd/kvdb => ./kvdb
replace github.com/lightningnetwork/lnd/queue => ./queue
replace github.com/lightningnetwork/lnd/ticker => ./ticker
-
-replace github.com/lightningnetwork/lnd/tlv => ./tlv
-
-replace github.com/lightningnetwork/lnd/tor => ./tor
diff --git a/go.sum b/go.sum
index 835874d..05ce937 100644
--- a/go.sum
+++ b/go.sum
@@ -285,6 +285,10 @@ github.com/lightninglabs/protobuf-go-hex-display v1.36.11-hex-display h1:fjePiMf
github.com/lightninglabs/protobuf-go-hex-display v1.36.11-hex-display/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
github.com/lightningnetwork/lightning-onion v1.4.0 h1:qWE1icOH4AKXRcq1KCzt6P/TesqptgBTP++V7wowTc0=
github.com/lightningnetwork/lightning-onion v1.4.0/go.mod h1:YDPkvVTVQ6FBBE6Yj93tDd7zA3iTSrryi9xq46i7bKE=
+github.com/lightningnetwork/lnd/tlv v1.4.0 h1:qNGymEkOZsHbp4h8VjnkRGgLfmh+eJP1JQtz2/mJX2M=
+github.com/lightningnetwork/lnd/tlv v1.4.0/go.mod h1:oL5WIFd3ZoEwh3oH1xzizeUl6pq3DIhx9ljDvRdvI3Q=
+github.com/lightningnetwork/lnd/tor v1.2.0 h1:Xled9KE+rdTPEMDVJE5VrSoMNkJq6EfH3NCF6pLP4h4=
+github.com/lightningnetwork/lnd/tor v1.2.0/go.mod h1:tB6/Hsk5nIm6xkOPaidd4q1at4x4gF6Bpu/t2UQxYgM=
github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 h1:sjOGyegMIhvgfq5oaue6Td+hxZuf3tDC8lAPrFldqFw=
github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796/go.mod h1:3p7ZTf9V1sNPI5H8P3NkTFF4LuwMdPl2DodF60qAKqY=
github.com/ltcsuite/ltcutil v0.0.0-20181217130922-17f3b04680b6/go.mod h1:8Vg/LTOO0KYa/vlHWJ6XZAevPQThGH5sufO0Hrou/lA=
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.