31. The court before which the prosecution or proceeding is taken may award any share of the fines actually recovered and realized, not exceeding one-half, to be paid to the informer. *Informer's share of penalty.*