From db8e3555bf4f4b7a22e674a035ad8fefdce36753 Mon Sep 17 00:00:00 2001 From: Cryptcoin Junkey <16408160+cryptcoin-junkey@users.noreply.github.com> Date: Wed, 6 Jan 2021 13:13:23 +0900 Subject: [PATCH] Remove the API `get_insight_block_info()` As it has been corrupted and doesn't work. See also Counterparty/Documentation#147 --- counterblock/lib/processor/api.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/counterblock/lib/processor/api.py b/counterblock/lib/processor/api.py index 40bff79f..c95c2c9a 100644 --- a/counterblock/lib/processor/api.py +++ b/counterblock/lib/processor/api.py @@ -55,11 +55,6 @@ def get_chain_block_height(): # DEPRECIATED 1.5 return config.state['cp_backend_block_index'] - @API.add_method - def get_insight_block_info(block_hash): - info = blockchain.getBlockInfo(block_hash) # ('/api/block/' + block_hash + '/', abort_on_error=True) - return info - @API.add_method def get_chain_address_info(addresses, with_uxtos=True, with_last_txn_hashes=4): if not isinstance(addresses, list):