Police caught a man with cannabis half-an-hour after he bought the drug.
Declan Cook was also found with 230 tablets of Tramadol which he said a friend had given him because he had toothache.
Cook, 20, of Weeton Avenue, South Shore, pleaded guilty to two offences of illegally possessing drugs.
He was given a six- month conditional discharge, fined £80 with £85 costs and ordered to pay £20 victims’ surcharge by Blackpool magistrates who ordered the destruction of the drugs.
Pam Smith, prosecuting, said police went to Cook’s previous address on Horncliffe Road and found eight wraps of cannabis and 230 Tramadol tablets on July 3 at 4pm.
Cook said he had bought the cannabis for himself.
Martin Hillson, defending, said his client had no previous convictions for drug offences.