mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-23 17:27:25 +00:00
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
|
# resolve by sd hash
|
||||||
two_sd_hash = two['outputs'][0]['value']['source']['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)
|
||||||
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):
|
async def test_source_filter(self):
|
||||||
channel = await self.channel_create('@abc')
|
channel = await self.channel_create('@abc')
|
||||||
|
|
Loading…
Add table
Reference in a new issue