Hilchot Megilah 1:11-12 (A city that may have had a wall in Joshua’s time… or maybe not)
8:23 pm
A city with a wall from Joshua’s time reads Megilah on the 15th of Adar; a city with a wall built after Joshua’s time reads it on the 14th. What happens in a city where it’s unclear when the wall was built?