Heat oil in a pan at medium heat. Once its hot, add mustard seeds. Once mustard seeds crackle, add chana daal and urad daal, wait till it gets golden brown color. Add curry leaves, green chili, ginger paste, turmeric powder and onion and little salt in to it. Saute it till onion gets translucent.