Section, R.S. § 2106, related to restrictions on assignments of contracts.