The solicitor-general shall, for his services in the supreme court, be paid out of the treasury of the state, by warrant drawn by the governor upon certificate of the clerk of the supreme court as to the performance of such services, and the certificate of the clerk of the state court of the insolvency or acquittal of defendant.