The actual wallet file version is the minversion record, not the
version record.
https://github.com/bitcoin/bitcoin/pull/15588/commits/b3d4f6c9619142948ab3d53551b4f3c0d7d73bde
---
Depends on D7017
Partial backport of Core [[https://github.com/bitcoin/bitcoin/pull/15588 | PR15588]]