Chris, Firstly congratulations.
Secondly, put the money away don't spend it as I am now in two minds. You really need an expert contract lawyer to advise you on this as it depends on a number of factors including the amount, what a 'reasonable observer' would think with all the facts in front of them. Have a look at this
law book and do a search for 'cross-purposes mistake'