I remember almost nothing about the story, but it was a do-over story, and the character remembered where they found gold later on (or maybe it was someone they'd sold the land to who found it?), and got them to find it early.
I know this isn't much (which is probably why I haven't been able to find it on my own) but hopefully someone recognizes it.