forked from LBRYCommunity/lbry-sdk
removed blockchain.block.get_block from wallet server API
This commit is contained in:
parent
6a2efa54ab
commit
bfc107fdb3
1 changed files with 0 additions and 4 deletions
|
@ -41,7 +41,6 @@ class LBRYElectrumX(ElectrumX):
|
|||
'blockchain.claimtrie.getvaluesforuris': self.claimtrie_getvalueforuris,
|
||||
'blockchain.claimtrie.getclaimssignedbyid': self.claimtrie_getclaimssignedbyid,
|
||||
'blockchain.block.get_server_height': self.get_server_height,
|
||||
'blockchain.block.get_block': self.get_block,
|
||||
}
|
||||
# fixme: methods we use but shouldnt be using anymore. To be removed when torba goes out
|
||||
handlers.update({
|
||||
|
@ -104,9 +103,6 @@ class LBRYElectrumX(ElectrumX):
|
|||
verbose = False
|
||||
return await self.daemon_request('getrawtransaction', tx_hash, verbose)
|
||||
|
||||
async def get_block(self, block_hash):
|
||||
return await self.daemon.deserialised_block(block_hash)
|
||||
|
||||
async def get_server_height(self):
|
||||
return self.bp.height
|
||||
|
||||
|
|
Loading…
Reference in a new issue