Preheat the oven to 350°F (175°C). Grease a 9-inch baking dish and set it aside.
Beat butter and sugar until creamy. Add eggs, mashed bananas, and vanilla extract, mixing until combined.
In a separate bowl, whisk flour, baking soda, baking powder, and salt.
Gradually fold dry ingredients into the wet mixture, alternating with sour cream, until smooth.
Pour batter into the prepared baking dish, spreading evenly.
Combine brown sugar and flour for the topping. Cut in butter until crumbly, then stir in nuts. Sprinkle over the batter.
Bake for 35 minutes or until a toothpick comes out clean. Let the cake cool before slicing.