The principal question argued is whether this action was barred by the statute of limitations of New York, by which any action upon a contract, obligation, or liability, expressed or implied, except a judgment or a sealed instrument, must be brought within six years after the cause of action accrues.