If you have enabled sync to iCloud on both devices, then all the contacts you have blocked on your iPhone will also be blocked on your Mac. It works both ways and makes it easier for users to keep all the contacts in sync on all Apple devices.