Stimulus Payment Direct Deposit

I filed my 2019 Federal & State Taxes on 4/3/2020 and was accepted about 20 minutes after submitting. My question is will the IRS go off of my 2019 direct deposit information when sending the stimulus money out? I did file in 2018 but the direct deposit account information I used that account is closed.