Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Remove the API get_insight_block_info() #186

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions counterblock/lib/processor/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down