The creature you put onto the battlefield from your hand is blocking the attacking creature, even if the block couldn't legally be declared (for example, if that creature enters tapped, or it can't block, or the attacking creature has protection from it).