I believe this will work better to get the block hash.