The HN guidelines[0] talk about using the original title of the article (stripping some things out if applicable).
Assuming you didn’t change the title of the article after seeing the parent comment here, the original title would have been the way to go.
[0] https://news.ycombinator.com/newsguidelines.html