In electrolysis according to first law of Faraday, the mass of a substance deposited at an electrode is directly proportional to the charge passed through the electrolyte ie, m∝q
If a current i passes for a time t, then as we know q=it
Hence, m∝it
or m∝i
Thus, mass deposited at an electrode is directly proportional to current.