Remove unused code for SHA mining.
setgenerate should toggle -staking