striking against a serrated steel the flint did two things ; it flung open the pan cover , revealing the trace of gunpowder and made a shower of sparks that , hopefully , ignited the powder and sent the flame through the tiny hole and into the larger amount of powder inside the barrel .