Thermal rejection and growth of gas bubbles in electrodeposited nickel