Preheat oven to 350ºF. While chocolate cools, in a medium bowl, beat butter with an electric mixer on medium-high speed for 2 minutes or until smooth. Add granulated sugar, beating until creamy. Add egg, egg yolk, and vanilla, beating well. Stir in melted chocolate. Stir in flour and chopped walnuts. Cover and chill for 1 hour.