My question involves real estate located in the State of: Iowa

As a result of a divorce, I was forced into bankruptcy which become final in Feb. 2019. I have a house to sell and I am thinking of doing a short sale if bank agrees at about 35k less than owed if bank agrees. If they agree, will i be taxed on the 35k even though I filed bankruptcy in the same year?