7-nt primer ligates in the open state of the hairpin, which will block rezipping of the last seven nucleotides and increase the distance between the surface and the magnetic bead by ~5 nm.  If the ligation is not successful, no change in the hairpin length is observed.