LND checksum mismatch

From lightningwiki.net
Jump to: navigation, search

Error[edit]

[root@srv18 lnd]# make 
go: downloading github.com/btcsuite/btcd v0.20.0-beta
go: downloading github.com/lightninglabs/neutrino v0.10.0
go: downloading github.com/btcsuite/btcwallet v0.10.0
go: extracting github.com/lightninglabs/neutrino v0.10.0
go: extracting github.com/btcsuite/btcwallet v0.10.0
verifying github.com/btcsuite/btcd@v0.20.0-beta: checksum mismatch
        downloaded: h1:PamBMopnHxO2nEIsU89ibVVnqnXR2yFTgGNc+PdG68o=
        go.sum:     h1:DnZGUjFbRkpytojHWwy6nfUSA7vFrzWXDLpFNzt74ZA=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

Fix[edit]

mv go.sum go.sum.backup
make clean
make
make install