Skip to content
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
@andorsk

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions