knock sensor question

quick, stupid question. is the knock sensor on a b16 the one with 2 wires and the green connector, or the one below it with the two seperate push on connectors? i swapped my b16 into my 91 ls last week, everything went ok except i keep getting the knock sensor code (23). also, anyone know why my b18a had a knock sensor in it, when it is not supposed to, or maybe it is just there and not hooked up in the ecu? thanks.

kyle

also, i am sure i hooked it up right into the ecu (pinout B19).