Check that the node we connect to matches the user-provided chain