From 62220f64db45b29d930bdb0e4c9377593546d4cc Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Tue, 6 Mar 2018 22:25:54 +0800 Subject: [PATCH] Remove dead code left over from prior --- server/session.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/server/session.py b/server/session.py index 788e9e9..890fc84 100644 --- a/server/session.py +++ b/server/session.py @@ -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.'''