I have created a new ethereum account using the following command:
geth --datadir ./datadir account new
This was successful. Next, I created the genesis file with the account ID and allocated ethers to it. I initiated the genesis block and started the peer node.
All these steps were successful, I found no problem.
But when I check the accounts, it shows not account.
> eth.accounts
[]
Why is this happening?