forked from LBRYCommunity/lbry-sdk
updated stream manager to pull protobuf instead of hex from resolve response
This commit is contained in:
parent
6ef1b1dd59
commit
7824de655e
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ class StreamManager:
|
||||||
if 'error' in resolved:
|
if 'error' in resolved:
|
||||||
raise ResolveError(f"error resolving stream: {resolved['error']}")
|
raise ResolveError(f"error resolving stream: {resolved['error']}")
|
||||||
|
|
||||||
claim = Claim.from_bytes(binascii.unhexlify(resolved['hex']))
|
claim = Claim.from_bytes(binascii.unhexlify(resolved['protobuf']))
|
||||||
outpoint = f"{resolved['txid']}:{resolved['nout']}"
|
outpoint = f"{resolved['txid']}:{resolved['nout']}"
|
||||||
resolved_time = self.loop.time() - start_time
|
resolved_time = self.loop.time() - start_time
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue