For 2022, I reported the sale of crypto. I didn't enter my information correctly and paid tax due. I'm amending my return. Will the IRS automatically refund me if due?

According to my calculations, the IRS should refund me what I paid in 2022. Will simply filing an amendment key them into refunding me?