Preheat the oven to 170°C (338°F).
Mash the banana.
Mix the eggs and mashed banana together.
Add cocoa powder, almond flour, and baking powder, and mix until well combined.
Fold in chopped nuts.
Pour the batter into a baking pan.
Bake in the preheated oven for 25 minutes.