The statutes of Wisconsin, in force when the bonds and coupons were issued, provided that 'all actions of debt founded upon any contract or liability, not under seal' (except such as are brought upon the judgment or decree of some court of record of the United States, or of a State or Territory of the United States), shall be commenced within six years after the cause of action accrued, and not af