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

Error "flag provided but not defined: -genesis" #2

Open
ttuti opened this issue Feb 27, 2017 · 1 comment
Open

Error "flag provided but not defined: -genesis" #2

ttuti opened this issue Feb 27, 2017 · 1 comment

Comments

@ttuti
Copy link

ttuti commented Feb 27, 2017

I keep getting the error that

          > flag provided but not defined: `-genesis <

I am running ethereum on Windows 10. What might be the problem? The entire command is below.

C:\Users\User>geth --genesis customgenesis.json --datadir="E:\Blockchain\testnet" --networkid 23422 --rpc --rpccorsdomain="*" --rpcport="8545" --minerthreads="1" --mine --nodiscover --maxpeers=0 console

@hostedpixel
Copy link

--genesis has been deprecated, you should use init instead.
https://ethereum.stackexchange.com/questions/7206/geth-genesis-is-giving-invalid-usage

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