Where a bank agrees to pay a real estate broker a commission on the sale of land it can not set up as a defense that, under the law of the State in which the land is situate a bank is prohibited from dealing in real estate, where it has availed itself of the benefits of the sale. Church v. Johnson, 93 Iowa, 544, 61 N. W. 916.