Anxiety and irregular heart beat.

So ive had anxiety for 7 or 8 years and I usually get in these phases when I get anxious about symptoms and afraid of disease etc. Ive been fine for awhile but recently found a lump in my foot and was freaking out and went to the doctor, well at the doctor I was also very anxious. I got my vitals, normal blood pressure and the nurse says she hears an irregular heartbeat. I say could it be anxiety? And she said no that wouldnt give me an irregular heartbeat. So now im freaking out more and she tells the doctor. The doctor comes in and tells me my breathing sounds fine heart sounds okay that she cant hear anything and then diagnoses my foot and lets me go. Should I be worried about an irregular heartbeat? The nurse seemed convinced and kept listening to me taking my pulse etc, the doctor didnt seem concerned. Could it have been because of anxiety? Should I go back?

Alex2397 ,Have you thought on getting a second opinion or do you trust your current doctor, i’m sure all you need is someone to give you some positive feedback because once that seed is planted ,thats all it takes for someone to stress or have panic attacks or in other words anxiety .
I hope you find the answer you are searching for and hopefully its a positive one .