A police officer’s nose led him to a mini cannabis factory in St Annes.
Officers were on an unrelated inquiry at flats when two cannabis plants were found growing in Kevin Walton’s flat.
Walton, of St Albans Road, St Annes, pleaded guilty to producing cannabis.
He was given a 12- month conditional discharge and ordered to pay £85 costs with £20 victims’ surcharge by Blackpool magistrates who ordered destruction of the drugs.
Pam Smith, prosecuting, said officers were on an inquiry at Walton’s block of flats on April 11 when an officer smelled cannabis.
Walton showed officers where the plants were. He had a previous caution for producing cannabis.
Leisa Splaine, defending, said Walton used the cannabis to alleviate chronic back pain.