Retirement tax questions

The money was placed back into my traditional IRA so no taxes due, however, since the taxes were taken at the time of distribution I decided to put the same amount from my savings account equal to what I rolled back into an after tax Roth since I already paid the taxes from the rolled over RMD.