Pre-heat the oven to 175ºC (350ºF). Grease and line the bottoms of two 22cm (8 inch) cake tins.
Melt the white chocolate and set to one side.
Beat the butter and sugar together until light and fluffy. Add the eggs one at a time, beating between each egg. Add the melted chocolate, vanilla and sour cream (see note 1), and mix until everything is evenly combined.
Sift together the flour, baking soda, salt (if using) and baking powder.
Gradually mix into the wet ingredients a little at a time.
Divide evenly between the two cake tins and bake for around 25-30 minutes until the tops bounce back when gently pushed and an inserted skewer comes out clean.
Leave to cool for a while in their tins then turn out onto a wire rack to cool completely.