WalletStorage.requires_upgrade always returned None, which is False. This is clearly a bug introduced when splitting the WalletStorage and JsonDB classes.
Fix it and test it.
This is currently used in the code to guard against loading (and potentially corrupting) old wallets that are not updated to the current format. But this should not happen except in the tests (when manual_upgrades=True is passed to the constructor), as the upgrade is done automatically when initializing a JsonDB class.