Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装CLI版本代码错误 #18

Open
xiaopangxia opened this issue Dec 23, 2017 · 1 comment
Open

安装CLI版本代码错误 #18

xiaopangxia opened this issue Dec 23, 2017 · 1 comment

Comments

@xiaopangxia
Copy link

CLI版本安装老出问题,眼下报了一个错好像是代码有错

`github.com/HcashOrg/hcashwallet$ go install $(glide nv)

github.com/HcashOrg/hcashwallet/wallet/udb

wallet/udb/addressmanager.go:444: acctKey.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/addressmanager.go:677: acctXpriv.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/addressmanager.go:679: acctXpriv.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/addressmanager.go:1625: too many arguments in call to xpubChild.Address
have (*chaincfg.Params, uint8)
want (*chaincfg.Params)
wallet/udb/addressmanager.go:1656: too many arguments in call to xpubChild.Address
have (*chaincfg.Params, uint8)
want (*chaincfg.Params)
wallet/udb/addressmanager.go:2246: coinTypeKey.SwitchChild undefined (type *hdkeychain.ExtendedKey has no field or method SwitchChild)
wallet/udb/upgrades.go:182: xpub.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/upgrades.go:194: xpub.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/upgrades.go:213: xpub.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/upgrades.go:223: xpub.GetAlgType undefined (type *hdkeychain.ExtendedKey has no field or method GetAlgType)
wallet/udb/upgrades.go:223: too many errors`

@rev-chaos
Copy link
Contributor

这个应该是依赖包没有正确下载,您可以使用glide install 再次尝试一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants