Remove dead code left over from prior

This commit is contained in:
Neil Booth 2018-03-06 22:25:54 +08:00
parent 5f3890879d
commit 62220f64db

View File

@ -279,13 +279,6 @@ class ElectrumX(SessionBase):
hex_str, n = self.controller.block_headers(start_height, chunk_size)
return hex_str
def block_get_chunk(self, index):
'''Return a chunk of block headers as a hexadecimal string.
index: the chunk index'''
index = self.controller.non_negative_integer(index)
return self.controller.get_chunk(index)
def is_tor(self):
'''Try to detect if the connection is to a tor hidden service we are
running.'''