He was, but it's clear that's not what caused the shooter to pull the trigger. He went to the wrong address and then assumed the man answering the door was someone else. But it doesn't say anywhere him being wrong caused the shooting and I don't think it was implied.