The federal funds rate was at 10% or below throughout the summer of 1980, but was ramped up to 20% in December of that year in keeping with the policies of the newly elected Reagan. It stayed there all but all through 1981, being relaxed too late to help ward off what was at the time the greatest economic disaster since the Great Depression.
Aggravated by Nixon's wage-price controls, gas lines were indeed a pain during the 1973-74 oil crisis. Eventually, odd/even rationing helped bring things under control. Lines were not as widepsread or long-lasting in 1979-80 when the major problem was panicked buyers fearing a return to 1973-74 and trying to keep the tank full at all times. Unlike in the earlier version, there was actually plenty of gas to go around in 1979-80.
Oh, and the so-called "misery index" is a complete joke number that has no actual meaning at all.