This is, of course, presuming that there is a crosswalk at the end of the block, marked for pedestrian use. If that is the case, the officer may very well have marked your ticket incorrectly, which gives you an easy out, but he may have been correct that you were crossing illegally.