Both the offers are alright. You may proceed. However, it is just a promise; neither it shall be necessary for the buyer to sell it to you nor shall it be necessary for you to buy it. If after finalizing the first deal the second deal was done anew then it shall be valid.
Allah knows Best!
Darul Uloom Deoband