Closed nickbrave777 closed 3 years ago
Have you solved this yet? I got the same in mac.
same issue on Mac M1
Just update your go version, I used. go version go1.16beta1 darwin/amd64
Just update your go version, I used. go version go1.16beta1 darwin/amd64
Thanks.But I run brew update and brew upgrade go, only updated my go from 1.15.6 to 1.15.7. And I still got the same msg when I import "github.com/miguelmota/go-ethereum-hdwallet" to run my own go program. But I can run go test in go-ethereum-hdwallet dir to run the test without errors.
You may try installing latest Go from binary release:
wget https://golang.org/dl/go1.16.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
Latest version of library should work now since vendor packages have been updated.
Im getting an error while installing:
robert@Roberts-MacBook-Air gocourse % go get -u github.com/miguelmota/go-ethereum-hdwallet github.com/miguelmota/go-ethereum-hdwallet ../src/github.com/miguelmota/go-ethereum-hdwallet/hdwallet.go:494:17: key.Child undefined (type *hdkeychain.ExtendedKey has no field or method Child)