forked from LBRYCommunity/lbry-sdk
Search for longer prefix of sd_hash to give better chance of unique results.
This commit is contained in:
parent
8becf1f69f
commit
3ae4aeea47
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class ClaimSearchCommand(ClaimTestCase):
|
|||
# resolve by sd hash
|
||||
two_sd_hash = two['outputs'][0]['value']['source']['sd_hash']
|
||||
await self.assertFindsClaims([two], sd_hash=two_sd_hash)
|
||||
await self.assertFindsClaims([two], sd_hash=two_sd_hash[:2])
|
||||
await self.assertFindsClaims([two], sd_hash=two_sd_hash[:4])
|
||||
|
||||
async def test_source_filter(self):
|
||||
channel = await self.channel_create('@abc')
|
||||
|
|
Loading…
Reference in a new issue