From 632d8d02d2a501af2b1292f48aedb2f8e7d994a8 Mon Sep 17 00:00:00 2001
From: Jack Robison <jackrobison@lbry.io>
Date: Tue, 17 Nov 2020 16:17:24 -0500
Subject: [PATCH] remove dead code

---
 lbry/wallet/server/leveldb.py | 13 -------------
 lbry/wallet/server/session.py |  9 ---------
 2 files changed, 22 deletions(-)

diff --git a/lbry/wallet/server/leveldb.py b/lbry/wallet/server/leveldb.py
index a7b24e657..437240072 100644
--- a/lbry/wallet/server/leveldb.py
+++ b/lbry/wallet/server/leveldb.py
@@ -426,19 +426,6 @@ class LevelDB:
 
         return await asyncio.get_event_loop().run_in_executor(self.executor, read_headers)
 
-    async def fs_block_tx_hashes(self, height):
-        def _get_tx_hashes():
-            return self.tx_db.get(BLOCK_HASH_PREFIX + util.pack_be_uint64(height)).hex().decode(), list(map(
-                    lambda tx_hash: hash_to_hex_str(tx_hash).decode(),
-                    self.tx_db.iterator(
-                        start=TX_HASH_PREFIX + util.pack_be_uint64(self.tx_counts[height - 1]),
-                        stop=None if height + 1 == len(self.tx_counts) else TX_HASH_PREFIX + util.pack_be_uint64(self.tx_counts[height]),
-                        include_key=False
-                    )
-                ))
-
-        return await asyncio.get_event_loop().run_in_executor(self.executor, _get_tx_hashes)
-
     def fs_tx_hash(self, tx_num):
         """Return a par (tx_hash, tx_height) for the given tx number.
 
diff --git a/lbry/wallet/server/session.py b/lbry/wallet/server/session.py
index 520613892..2e4c5d0e6 100644
--- a/lbry/wallet/server/session.py
+++ b/lbry/wallet/server/session.py
@@ -1585,15 +1585,6 @@ class LBRYElectrumX(SessionBase):
 
         return await self.daemon_request('getrawtransaction', tx_hash, verbose)
 
-    async def _block_hash_and_tx_hashes(self, height):
-        """Returns a pair (block_hash, tx_hashes) for the main chain block at
-        the given height.
-
-        block_hash is a hexadecimal string, and tx_hashes is an
-        ordered list of hexadecimal strings.
-        """
-        return await self.db.fs_block_tx_hashes(height)
-
     def _get_merkle_branch(self, tx_hashes, tx_pos):
         """Return a merkle branch to a transaction.