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

keystore.go:114:17: cannot use &keystoreWallet literal (type *keystoreWallet) as type accounts.Wallet in assignment #37

Open
somanysteves opened this issue Apr 15, 2021 · 0 comments

Comments

@somanysteves
Copy link

go run src/ethcracker.go -pk ~/Downloads/keystore-m_datestuff-stamp.json -t ./template.txt -min_len 7 -max_len 20 -threads 4

results in

src/accounts/keystore/keystore.go:114:17: cannot use &keystoreWallet literal (type *keystoreWallet) as type accounts.Wallet in assignment:
*keystoreWallet does not implement accounts.Wallet (wrong type for SelfDerive method)
have SelfDerive(accounts.DerivationPath, ethereum.ChainStateReader)
want SelfDerive([]accounts.DerivationPath, ethereum.ChainStateReader)
src/accounts/keystore/keystore.go:153:49: cannot use wallet (type *keystoreWallet) as type accounts.Wallet in field value:
*keystoreWallet does not implement accounts.Wallet (wrong type for SelfDerive method)
have SelfDerive(accounts.DerivationPath, ethereum.ChainStateReader)
want SelfDerive([]accounts.DerivationPath, ethereum.ChainStateReader)
src/accounts/keystore/keystore.go:154:20: cannot use wallet (type *keystoreWallet) as type accounts.Wallet in append:
*keystoreWallet does not implement accounts.Wallet (wrong type for SelfDerive method)
have SelfDerive(accounts.DerivationPath, ethereum.ChainStateReader)
want SelfDerive([]accounts.DerivationPath, ethereum.ChainStateReader)

Don't really know go. but learning is always good. Any hint(s) are welcome.

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

1 participant