Cannot get WS2801 LED's to work

leds[0]
this means the first LED.

Maybe that will help you understand. Good news is, everything is working as intended.

Change both leds[0] to leds[1] and see what happens.