hcashd icon indicating copy to clipboard operation
hcashd copied to clipboard

安装CLI版本代码错误

Open xiaopangxia opened this issue 6 years ago • 1 comments

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`

xiaopangxia avatar Dec 23 '17 06:12 xiaopangxia

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

rev-chaos avatar Dec 24 '17 07:12 rev-chaos