I don't think either of these two sentences is more or less correct grammatically. They are both written in the future perfect tense which is not used all that frequently in English. I prefer the first sentence, but that is only my preference. There is nothing that I can detect that is incorrect in either one of the examples. I would like to see what others have to say about it.