From bd65b01eb3131f24baab54a7d8e0c05affbc621e Mon Sep 17 00:00:00 2001 From: Kevin Gorham Date: Fri, 7 May 2021 04:18:45 -0400 Subject: [PATCH] Remove drop accounts function. --- zcash_client_sqlite/src/wallet/init.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/zcash_client_sqlite/src/wallet/init.rs b/zcash_client_sqlite/src/wallet/init.rs index 211dfedc5..96e436300 100644 --- a/zcash_client_sqlite/src/wallet/init.rs +++ b/zcash_client_sqlite/src/wallet/init.rs @@ -209,17 +209,6 @@ pub fn init_accounts_table( Ok(()) } -pub fn drop_accounts_table( - wdb: &WalletDb

, -) -> Result<(), SqliteClientError> { - wdb.conn.execute_batch( - "PRAGMA foreign_keys = OFF; DROP TABLE accounts; PRAGMA foreign_keys = ON;" - )?; - - Ok(()) -} - - /// Initialises the data database with the given block. /// /// This enables a newly-created database to be immediately-usable, without needing to