Fix an off-by-one.

This caused submitblock to have an undefined byte resulting
in bad block data.