Preheat the oven to 350°F. Grease a 9×5-inch loaf pan.
In a small bowl, combine the flour, salt, baking powder, and baking soda, then whisk until evenly mixed and set aside.
In a separate bowl, mash those bananas until smooth and a little chunky.
In a large mixing bowl, combine all the wet ingredients: the sourdough discard, melted butter, brown sugar, eggs, sour cream, and pure vanilla extract. Mix until smooth.
Then add the mashed bananas to it and stir to incorporate.
Add the dry ingredients to the wet ingredients a little at a time, stirring just enough to combine without overmixing. If using a stand mixer, keep it on low speed. Otherwise, mix by hand with a light folding motion.
Fold in those chocolate chips or nuts (if using), then pour the batter into your prepared pan. Smooth out the top and pop it into the oven.
Bake 50-65 minutes for a regular loaf and 30-45 minutes for mini loaves, or until a toothpick comes out clean.
Let the bread rest in the pan for at least 20 minutes before moving it to a cooling rack to finish cooling.