What changed, and why it matters
This commit updates LND's dependency on btcwallet from a pre-release development snapshot to the stable v0.18.1 release. The commit message says the goal is to adopt new 'rejection mappings' from a btcwallet pull request while avoiding an unrelated Neutrino upgrade. The change itself only modifies Go module files (go.mod and go.sum); it does not contain any actual code changes. Whether this is a security fix depends entirely on what the referenced btcwallet pull request #1464 contains, which is not shown in the supplied materials.
Review btcwallet PR #1464 to determine whether the 'rejection mappings' change addresses a security issue. If it does, verify that the v0.18.1 tag contains the expected fix and consider whether the prior pseudo-version already included it. Otherwise, treat this as a routine build/maintenance update.
Security signals we found
Dependency version bump to a tagged release
Commit message references 'rejection mappings' in an upstream dependency
No direct code changes in the commit
No CVE, advisory, or security disclosure language in commit message
Evidence from the diff
The diff is a dependency pin: github.com/btcsuite/btcwallet is moved from pseudo-version v0.18.1-0.20261020132555-16cfb4483d1f to tagged release v0.18.1. The commit message references btcwallet PR #1464 (‘rejection mappings’) and explicitly excludes btcwallet PR #1452 (Neutrino upgrade). The remaining go.mod churn is routine indirect-dependency reorganization caused by running go mod tidy. No LND source code is changed, and the content of the btcwallet changes being pulled in is not present in the diff.
Changed components
go.modgo.sumgithub.com/btcsuite/btcwallet dependencyInspect captured patch +8 / −11
### go.mod
@@ -16,7 +16,7 @@ require (
github.com/btcsuite/btcd/wire/v2 v2.0.0
github.com/btcsuite/btclog v1.0.0
github.com/btcsuite/btclog/v2 v2.0.1-0.20250728225537-6090e87c6c5b
- github.com/btcsuite/btcwallet v0.18.1-0.20261020132555-16cfb4483d1f
+ github.com/btcsuite/btcwallet v0.18.1
github.com/btcsuite/btcwallet/wallet/txauthor v1.4.0
github.com/btcsuite/btcwallet/wallet/txrules v1.3.0
github.com/btcsuite/btcwallet/walletdb v1.6.0
@@ -35,6 +35,7 @@ require (
github.com/jessevdk/go-flags v1.6.1
github.com/jrick/logrotate v1.1.2
github.com/kkdai/bstream v1.0.0
+ github.com/klauspost/compress v1.18.0
github.com/lightninglabs/neutrino v0.18.0
github.com/lightninglabs/neutrino/cache v1.1.4
github.com/lightningnetwork/lightning-onion v1.4.0
@@ -51,6 +52,7 @@ require (
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/pmezard/go-difflib v1.0.0
github.com/prometheus/client_golang v1.23.2
github.com/stretchr/testify v1.11.1
github.com/tv42/zbase32 v0.0.0-20160707012821-501572607d02
@@ -62,6 +64,7 @@ require (
golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028
golang.org/x/sync v0.22.0
golang.org/x/term v0.45.0
+ golang.org/x/text v0.40.0
golang.org/x/time v0.3.0
google.golang.org/grpc v1.83.1
google.golang.org/protobuf v1.36.11
@@ -70,11 +73,6 @@ require (
pgregory.net/rapid v1.2.0
)
-require (
- github.com/felixge/httpsnoop v1.1.0 // indirect
- github.com/kcalvinalvin/anet v0.0.0-20251112173137-d8ddc1f6dbee // indirect
-)
-
require (
dario.cat/mergo v1.0.1 // indirect
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
@@ -102,6 +100,7 @@ require (
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
+ github.com/felixge/httpsnoop v1.1.0 // indirect
github.com/fergusstrange/embedded-postgres v1.25.0 // indirect
github.com/fsnotify/fsnotify v1.5.4 // indirect
github.com/go-logr/logr v1.4.3 // indirect
@@ -126,7 +125,7 @@ require (
github.com/json-iterator/go v1.1.12 // indirect
github.com/juju/loggo v0.0.0-20210728185423-eebad3a902c4 // indirect
github.com/juju/testing v0.0.0-20220203020004-a0ff61f03494 // indirect
- github.com/klauspost/compress v1.18.0
+ github.com/kcalvinalvin/anet v0.0.0-20251112173137-d8ddc1f6dbee // indirect
github.com/lib/pq v1.10.9 // indirect
github.com/lightninglabs/gozmq v0.0.0-20191113021534-d20a764486bf // indirect
github.com/mattn/go-isatty v0.0.24 // indirect
@@ -145,7 +144,6 @@ require (
github.com/opencontainers/runc v1.2.8 // indirect
github.com/ory/dockertest/v3 v3.10.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
- github.com/pmezard/go-difflib v1.0.0
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.66.1 // indirect
github.com/prometheus/procfs v0.16.1 // indirect
@@ -187,7 +185,6 @@ require (
golang.org/x/mod v0.38.0 // indirect
golang.org/x/net v0.57.0 // indirect
golang.org/x/sys v0.47.0 // indirect
- golang.org/x/text v0.40.0
golang.org/x/tools v0.48.0 // indirect
google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa // indirect
### go.sum
@@ -57,8 +57,8 @@ github.com/btcsuite/btclog v1.0.0 h1:sEkpKJMmfGiyZjADwEIgB1NSwMyfdD1FB8v6+w1T0Ns
github.com/btcsuite/btclog v1.0.0/go.mod h1:w7xnGOhwT3lmrS4H3b/D1XAXxvh+tbhUm8xeHN2y3TQ=
github.com/btcsuite/btclog/v2 v2.0.1-0.20250728225537-6090e87c6c5b h1:MQ+Q6sDy37V1wP1Yu79A5KqJutolqUGwA99UZWQDWZM=
github.com/btcsuite/btclog/v2 v2.0.1-0.20250728225537-6090e87c6c5b/go.mod h1:XItGUfVOxotJL8kkuk2Hj3EVow5KCugXl3wWfQ6K0AE=
-github.com/btcsuite/btcwallet v0.18.1-0.20261020132555-16cfb4483d1f h1:eOaOMpYKDUjcGUI2lQrTSGZa1dy1uS3UrySruwLofhU=
-github.com/btcsuite/btcwallet v0.18.1-0.20261020132555-16cfb4483d1f/go.mod h1:IQrr6b13s0ZTaj9RlM/LhQ+Xvmo/gK86L9oGu2upIeQ=
+github.com/btcsuite/btcwallet v0.18.1 h1:0MdBr89n7XpwqR8sfxL0sjlZwOVkeWW9T+vLDN3KzOM=
+github.com/btcsuite/btcwallet v0.18.1/go.mod h1:PLqcx9tFoT7L2b/cf/aY/lMq4sJaoQYXTS9BmroVy7I=
github.com/btcsuite/btcwallet/wallet/txauthor v1.4.0 h1:oIkGj32YK1CvWaJGlVwZA1f+y/KVHkfrd2PoST0ZpQs=
github.com/btcsuite/btcwallet/wallet/txauthor v1.4.0/go.mod h1:sGrBjcqQ8UPexuRajFs72+o544CJn3Pavv/5H0VAWVk=
github.com/btcsuite/btcwallet/wallet/txrules v1.3.0 h1:D5aGMwWIxdqek3xEJs4eOdMoh6iga2EI2xSlaXCdnNo=Why this scored 26/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.