For the masala, In a wok or a kadhai (round frying pan), heat oil and fry the onions light golden brown. Add mustard seeds, cumin seeds and curry leaves. When they start to splatter add tomatoes, green peas and peanuts. Mix it in and then add the seasonings. Fry for about 5-6 minutes or until tomatoes are softened. We don’t need to cook for long as the peas are preboiled and the peanuts don’t need to be softened. Keep stirring occasionally. Its best to do this process on medium flame to make sure the masala is not completely dry or watery either, as shown in the picture below.