A Wigan man will be sentenced next month after he admitted being involved in drug dealing.