remove commented code and unused import
This commit is contained in:
parent
c7eb60619f
commit
6690e63ea4
3 changed files with 0 additions and 8 deletions
|
@ -49,12 +49,6 @@ def protobuf_resolve(urls, **kwargs) -> str:
|
|||
|
||||
def resolve(urls, **kwargs) -> Dict[str, Output]:
|
||||
return {url: resolve_url(url) for url in urls}
|
||||
#txo_rows = [resolve_url(raw_url) for raw_url in urls]
|
||||
#extra_txo_rows = _get_referenced_rows(
|
||||
# [txo for txo in txo_rows if isinstance(txo, dict)],
|
||||
# [txo.censor_hash for txo in txo_rows if isinstance(txo, ResolveCensoredError)]
|
||||
#)
|
||||
#return txo_rows, extra_txo_rows
|
||||
|
||||
|
||||
def resolve_url(raw_url):
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import base64
|
||||
import struct
|
||||
from typing import List
|
||||
from binascii import hexlify
|
||||
from itertools import chain
|
||||
|
||||
from lbry.error import ResolveCensoredError
|
||||
|
|
|
@ -899,7 +899,6 @@ class TestGeneralBlockchainSync(SyncingBlockchainTestCase):
|
|||
self.assertEqual(stream_cd.claim_id, await self.resolve_to_claim_id("@foo#ab/foo#cd"))
|
||||
|
||||
async def test_resolve_protobuf_includes_enough_information_for_signature_validation(self):
|
||||
# important for old sdk
|
||||
chan_ab = await self.get_claim(
|
||||
await self.create_claim(claim_id_startswith='ab', is_channel=True))
|
||||
await self.create_claim(claim_id_startswith='cd', sign=chan_ab)
|
||||
|
|
Loading…
Add table
Reference in a new issue