A creditor having a claim for which the insolvent is primarily liable, and others secondarily, may prove for his whole claim; but, if the insolvent is only secondarily liable, the value of the liability of the primary debtor shall be adjusted between the creditor and the assignee; or, if the valuation cannot be agreed on, the same shall be submitted to the appropriate tribunal, and a dividend shall only be awarded to the creditor on the difference between such value, so determined, and the amount of his claim.
39 P.S. § 89