forked from LBRYCommunity/lbry-sdk
fix RepostKey
This commit is contained in:
parent
290be69d99
commit
a8f20361aa
1 changed files with 2 additions and 2 deletions
|
@ -779,9 +779,9 @@ class RepostPrefixRow(PrefixRow):
|
|||
|
||||
@classmethod
|
||||
def unpack_key(cls, key: bytes) -> RepostKey:
|
||||
assert key[0] == cls.prefix
|
||||
assert key[:1] == cls.prefix
|
||||
assert len(key) == 21
|
||||
return RepostKey[1:]
|
||||
return RepostKey(key[1:])
|
||||
|
||||
@classmethod
|
||||
def pack_value(cls, reposted_claim_hash: bytes) -> bytes:
|
||||
|
|
Loading…
Reference in a new issue