Amended return shows no tax due; paid tax electronically on original

I filed my 2021 return showing some tax due, and paid via EFT from my bank checking account.

 

Subsequently I found an error that reduced my taxes, and amended my return.  Will the IRS refund me the overpayment, or is there something else I must do to get back the overpayment?

 

Thanks in advance.