Melt 200 g margarine over a water bath, then add 200 g dark chocolate. Stir occasionally until combined and let cool.
Whisk 3 eggs until frothy and add 250 g sugar.
Add the cooled chocolate mixture, then a vanilla pod.
Slowly add 100 g flour and 50 g cocoa and stir with a wooden spoon.
Fold in the remaining 50 g dark chocolate, 50 g white chocolate and 100 g walnuts.
Pour into a baking tin lined with baking paper. Bake at 160°C for about 30 minutes.
Serve with ice cream if you like.
Enjoy!