After the work was done, but before the time fixed for payment for it came round, the company became bankrupt and had no property from which payment could be got, except such as was then claimed under the mortgage and was now held by the trustees under it; certain persons who had been substituted in the place of the original trustees.