updated stream manager to pull protobuf instead of hex from resolve response

This commit is contained in:
Lex Berezhny 2019-04-21 12:17:51 -04:00
parent 6ef1b1dd59
commit 7824de655e

View file

@ -406,7 +406,7 @@ class StreamManager:
if 'error' in resolved:
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']}"
resolved_time = self.loop.time() - start_time