We currently fail migration if the wallet does not contain the best block locator. This is a problem for wallets created before #152, which are not storing such record.
Missing this record is not an error. it simply means the wallet will scan the chain prior to finish migration.
Note:
Originally I wrote the test using a BDB library (bsddb3) but I wasn’t happy with the
new dependency, and ended up zeroing the record length manually. I’m not sure this
will work on every platform. If it doesn’t, we can just just drop the test as this can be
tested manually on any ancient wallet too.