Like the others, I can't see that you did anything wrong. I am curious, though, what the tower controller was thinking of. What sort of landing clearance did he give? Did he advise you of the other aircraft and give a conditional landing clearance (eg. a "land after")?