Did they seal? You are supposed to pressure-can quarts for 25 minutes to be safe. If possible, open the jars an drain. Put the beans into freezer safe containers and freeze. They will be good.
When I have made such mistakes, I tried to learn from the, and not duplicate the mistake. Don't worry. We've all done similar things.
Seeeeya; Chief Longwind of the North