Wasn't POW supposed to end at block 5000?
Block 9323
Hash 00000000121d5b80127d52592b84fe2fba277b170e6438d3259a7e108e7d26c1
Previous Block 3e7550f94dfa15ccef2ebac672dc81b91a6501a7a362ce9f147443f31e5ab6bd
Next Block 00000000143859492ae97276517ba3c034990b9096339dab9eee26f98471cc3d
Height 9323
Version 6
Transaction Merkle Root 9fec23a9b26e74bc8b3dfb07070421b1ea26a4f97ebfc89d416a468a001db1b6
Time 1412755652 (2014-10-08 08:07:32)
Difficulty 8.344 (Bits: 1c1eadd1)
Cumulative Difficulty 3 594 801.926
Nonce 12996936
Transactions 1
Value out 4000
Transaction Fees 0
Average Coin Age 0.925654 days
Coin-days Destroyed 0
Cumulative Coin-days Destroyed 35.21%
Transaction Fee Size (kB) From (amount) To (amount)
9fec23a9b2... 0 0.13 Generation: 4000 + 0 total fees GfH6xoSRDLkP8rHqmKcaANhrZQfMzaPgRr: 4000
There is more wrong with this code than only the missing check for the POW block reward.
So your chances to get a working coin again are:
a) fix that max POW block check too and hope there are no more surprises in the code
b) get a serious code review from a well known trusted coin dev so you know what else to fix
c) start again with a fresh copy from the clean(?), original source (not! the compromised code) and put your params and mods in
No, it was supposed to end after 5000 POW blocks. The total block count that you are looking at includes POS blocks.