Inheritance of the right to demand a deposit