I have created a regtest address and I want to check it's balance.
I have run the commands:
-regtest generate 101
-regtest getbalance
-regtest sendtoaddress n4MN27Lk7Yh3pwfjCiAbRXtRVjs4Uk67fG 10.00
-regtest generate 6
-regtest getbalance n4MN27Lk7Yh3pwfjCiAbRXtRVjs4Uk67fG
after the 5th step the balance is still 0.
Why this happened since I have already sent 10 BTC to my address? Do I have to sign any outputs in order to claim the bitcoins?
https://i.stack.imgur.com/yoLwB.png