diff --git a/zcash_client_sqlite/src/chain.rs b/zcash_client_sqlite/src/chain.rs
index 9dc3d585d..c74a975c0 100644
--- a/zcash_client_sqlite/src/chain.rs
+++ b/zcash_client_sqlite/src/chain.rs
@@ -163,7 +163,7 @@ mod tests {
init::{init_accounts_table, init_data_database},
rewind_to_height,
},
- AccountId, BlockDB, WalletDB, NoteId,
+ AccountId, BlockDB, NoteId, WalletDB,
};
#[test]
diff --git a/zcash_client_sqlite/src/wallet.rs b/zcash_client_sqlite/src/wallet.rs
index b221e0728..2878e54e3 100644
--- a/zcash_client_sqlite/src/wallet.rs
+++ b/zcash_client_sqlite/src/wallet.rs
@@ -20,7 +20,7 @@ use zcash_client_backend::{
},
};
-use crate::{error::SqliteClientError, AccountId, WalletDB, NoteId};
+use crate::{error::SqliteClientError, AccountId, NoteId, WalletDB};
pub mod init;
pub mod transact;
@@ -284,10 +284,7 @@ pub fn block_height_extrema(
.or(Ok(None))
}
-pub fn get_tx_height(
- conn: &WalletDB,
- txid: TxId,
-) -> Result