decred / dcrwallet

A secure Decred wallet daemon written in Go (golang).
https://decred.org
ISC License
211 stars 153 forks source link

walletsetup: Return birthday prompt error. #2386

Closed JoeGruffins closed 2 weeks ago

JoeGruffins commented 2 weeks ago

closes #2377

jrick commented 2 weeks ago

To avoid this footgun we should probably return the default states directly from the prompt function when it reads io.EOF with no other input. iirc, the other functions behave the same way.

jrick commented 2 weeks ago

Well, it's correct and the cleanup can be done later. In the interest of getting this fix into the next release, let's get this in now.