 It had a detonator, which it could contact a ship's hull, or it could detect the ship's magnetic field and explode when it did that. Both of those failed, and the Navy was very slow to acknowledge that and correct it. And it did potentially stretch out the Pacific War by many months, if you ask historians of the submarine campaign in that war.