It’s not a given; the outcome largely hinges on the gunpowder’s formula and the voltage producing the electric sparks.
Gunpowder is ignited not by the voltage itself but by the sparks generated during discharge. An increase in voltage or current can result in a greater number of sparks.