This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
[Bug] Import Issues: ambiguous import: found package github.com/btcsuite/btcd/chaincfg/chainhash in multiple modules #483
Closed
Description
opened on May 25, 2023
Describe the bug
Run go mod tidy
github.com/benri-io/**/**** imports
github.com/tbd54566975/ssi-service/pkg/server imports
github.com/tbd54566975/ssi-service/pkg/service/did imports
github.com/TBD54566975/ssi-sdk/did/ion imports
github.com/btcsuite/btcd/btcec/v2/ecdsa tested by
github.com/btcsuite/btcd/btcec/v2/ecdsa.test imports
github.com/btcsuite/btcd/chaincfg/chainhash: ambiguous import: found package github.com/btcsuite/btcd/chaincfg/chainhash in multiple modules:
github.com/btcsuite/btcd v0.22.0-beta (/Users/akmb2/go/pkg/mod/github.com/btcsuite/btcd@v0.22.0-beta/chaincfg/chainhash)
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2 (/Users/akmb2/go/pkg/mod/github.com/btcsuite/btcd/chaincfg/chainhash@v1.0.2)
Temporary fix:
go get -d github.com/btcsuite/btcd/chaincfg/chainhash@v1.0.2
Expected behavior
No import issue
Supporting Material
btcsuite/btcd#1937
Environment (please complete the following information):
- OS: macOS
Additional context
Add any other context about the problem here.
Activity