Unable to return BlockHashes when I run this generatetoaddress
Open bitcoin.conf and its default location on Mac is $HOME/Library/Application Support/Bitcoin/bitcoin.conf

Save bitcoin.conf with:


regtest=1


Launch Bitcoin Core. You should see a logo color similar to stackexchange:



Open console and run the below commands:

A. getnewaddress
B. generatetoaddress 11 [Address returned in A]