Deployer TN version

Does anyone know where WmDeploy get the TN version from? DB or File?

I had a 6.1 TN database migrated into 7.1.2 and simulate deployment gives warning when the it’s deploying to another 7.1.2 instance but different database vendor.

It complaints the source TN system version is 6.0.1 which is not even true in this case, and it’s not matching with the target TN system.