Added some debugging output to checkblock for PoS takeover