If, upon the hearing, the judge shall be satisfied that the assignee is entitled to be discharged, he shall make an order accordingly; or if, in the opinion of the judge, anything remains to be done by such assignee, he may require the performance thereof before making such order. Such order shall have the effect of discharging the assignee and his sureties from all further responsibility in respect to the trust, and such order shall not be refused on account of any failure on the part of the assignee to comply with any formal provision of law, where no loss or damage to anyone shall have occurred through such failure.
SDCL 54-9-21