In all suits brought, or which may be brought by the commonwealth, under authority of law, against any defaulting officer or his sureties, interest shall be allowed and computed in favor of the commonwealth, from the time the public money sued for came to the hands, or should have been in the hands of such officers.
72 P.S. § 4227