Closed shrimalmadhur closed 2 years ago
Hello,
I am using the beta version (btcd@v0.22.0-beta) and recently I got this error while building
btcd@v0.22.0-beta
github.com/btcsuite/btcd/btcec tested by github.com/btcsuite/btcd/btcec.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/madhurshrimal/go/pkg/mod/github.com/btcsuite/btcd@v0.22.0-beta/chaincfg/chainhash) github.com/btcsuite/btcd/chaincfg/chainhash v1.0.0 (/Users/madhurshrimal/go/pkg/mod/github.com/btcsuite/btcd/chaincfg/chainhash@v1.0.0)
It didn't use to come before and suddenly it popped up. Any idea how I can solve this?
Awesome thanks @chappjc ❤️ I really didn't spot that sneaky github.com/btcsuite/btcutil/base58 import! Sorry for hijacking the issue thread a bit.
github.com/btcsuite/btcutil/base58
Hello,
I am using the beta version (
btcd@v0.22.0-beta
) and recently I got this error while buildingIt didn't use to come before and suddenly it popped up. Any idea how I can solve this?