The layer sets the maximum liability what they are willing to risk. No bet can confirm unless the layer has sufficient funds to back the bet.