Preheat your oven to 350°F (175°C). Grease a 9×5 inch loaf pan or line it with parchment paper for easy removal.
In a large mixing bowl, combine the mashed bananas, sourdough discard, melted butter, eggs, granulated sugar, and vanilla extract. Whisk until smooth and well combined.
In a medium mixing bowl, whisk together the all-purpose flour, baking soda, salt, and ground cinnamon.
Gradually add the dry ingredients to the wet ingredients, stirring gently until just combined. Do not overmix. If using, fold in the chopped nuts or chocolate chips.
Pour the batter into the prepared loaf pan, spreading it evenly.
Bake in the preheated oven for 50-60 minutes, or until a toothpick inserted into the center of the loaf comes out clean or with just a few moist crumbs attached.
Remove the banana bread from the oven and let it cool in the pan for about 10 minutes. Transfer the bread to a cooling rack to cool completely.