While the sweet potatoes are cooking, melt butter in a fry pan over medium heat. Once butter is melted, mix in vanilla, brown sugar and cinnamon until combined. Add in pecans and walnuts. Cook for 3-6 minutes until the nuts are toasted and you smell a nutty aroma.