librustzcash
librustzcash copied to clipboard
zcash_client_sqlite: Validate the network parameters when opening a wallet database.
As a safeguard against corruption, check the contents of the wallet database (if any) to ensure that the network type passed to WalletDb
construction is the same as the network for which data was persisted.