Skip to content

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

@somanysteves

Description

@somanysteves

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions