No, goldfish don’t eat the leaves of the hornwort plant. Thus, it is alright to keep goldfish in an aquarium with a hornwort plant.