The council will provide a discount which will likely be used as your deposit. Your lender may use discount as your deposit as well as asking for an additional deposit from your own funds. If you’ve had credit issues in the past, this is the road that the lender is likely to go down.