Wedding ceremony

Kavod Harav,
Recently, i was attending a wedding. The witnesses signed the Ketuba before sunset and the ceremony was at night. most likely more than 40 minuites after sunset.
Is this an issue?
Lechtechila vs Bedieved?

Anyone would like to answer the original question?

After the fact, it’s ok. No need to do anything.