If you added your Canadian amount, correcting if needed for the difference in exchange rate, to your social security income you did the correct thing. But if your state doesn’t tax social security, then you have to add the Canadian amount to your state income.