The wallet address and the public key are not the same, even though they are related. The wallet address is a hashed version of the public key, which represents a possible destination for a bitcoin payment.