Preheat the oven to 350°F (177°C). Spray a 9x5 loaf pan with nonstick cooking spray, line the pan with parchment paper, and set aside.
In a large mixing bowl, whisk together the flour, baking powder, baking soda, cinnamon, and salt.
In the bowl of a stand mixer fitted with the paddle attachment, or in a large mixing bowl using an electric mixer, mix together the butter, granulated sugar, and brown sugar for 4-5 minutes or until light and fluffy.
Mix in the eggs and vanilla, making sure to mix well after each addition. Stop and scrape down the sides of the bowl, then add the mashed banana and mix until fully combined.
Add the dry ingredients to the wet ingredients and mix until just combined, making sure not to overmix the batter. Gently stir in the chopped walnuts.
Scoop the batter into the prepared loaf pan and spread it around into one even layer.
Bake at 350°F (177°C) for 55-65 minutes or until a toothpick inserted into the center comes out clean. Tent with aluminum foil to prevent excess browning if needed.
Remove from the oven and allow to cool in the loaf pan for 20 minutes. Carefully remove the bread from the loaf pan and transfer to a wire rack to cool completely.