Either are fine, they just give different final finishes. Walnut is a touch more aggressive, corncob gives a touch more shine, both are excellent choices.
Just make sure to get real tumbling media if you use corncob, cutting corners and getting stuff with different grit size can be hit or miss. Supposedly you can get walnut shells for real cheap from pet places.
-Hans