Preheat your oven to 350°F (175°C). Grease a 9x5-inch loaf pan or line it with parchment paper.
In a large mixing bowl, combine the mashed bananas and olive oil. Mix until well combined.
Add the granulated sugar, brown sugar, eggs, and vanilla extract to the banana mixture. Stir until smooth.
In a separate bowl, whisk together the baking soda, salt, flour, and cinnamon (if using).
Gradually add the dry ingredients to the wet ingredients, stirring gently until just combined. Do not overmix.
If desired, fold in the chopped walnuts or pecans.
Pour the batter into the prepared loaf pan and smooth the top with a spatula.
Bake for 50-60 minutes, or until a toothpick inserted into the center comes out clean.
Allow the bread to cool in the pan for about 10 minutes before transferring it to a wire rack to cool completely.