Merge pull request #156 from lbryio/valid_channel_signatures_rename

claim_search --valid_channel_signatures was renamed to --valid_channel_signature
This commit is contained in:
Sean Yesmunt 2019-06-25 02:39:02 -04:00 committed by GitHub
commit 3c862e72b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 12 deletions

10
dist/bundle.es.js vendored
View file

@ -2000,11 +2000,7 @@ function doResolveUris(uris, returnCachedClaims = false) {
result.stream = uriResolveInfo;
if (uriResolveInfo.signing_channel) {
result.channel = uriResolveInfo.signing_channel;
<<<<<<< HEAD
result.claimsInChannel = uriResolveInfo.signing_channel.meta && uriResolveInfo.signing_channel.meta.claims_in_channel || 0;
=======
result.claimsInChannel = uriResolveInfo.meta && uriResolveInfo.meta.claims_in_channel || 0;
>>>>>>> add tags
}
}
// $FlowFixMe
@ -2125,11 +2121,7 @@ function doFetchClaimsByChannel(uri, page = 1) {
lbryProxy.claim_search({
channel: uri,
<<<<<<< HEAD
valid_channel_signatures: true,
=======
is_controlling: true,
>>>>>>> add tags
valid_channel_signature: true,
page: page || 1,
order_by: ['release_time']
}).then(result => {

View file

@ -3,8 +3,7 @@
declare type Claim = StreamClaim | ChannelClaim;
declare type ChannelClaim = GenericClaim & {
is_channel_signature_valid?: boolean, // we may have signed channels in the future, fixes some flow issues for now.
signing_channel?: ChannelClaim,
is_channel_signature_valid?: boolean, // we may have signed channels in the future
value: ChannelMetadata,
};

View file

@ -200,7 +200,7 @@ export function doFetchClaimsByChannel(uri: string, page: number = 1) {
Lbry.claim_search({
channel: uri,
valid_channel_signatures: true,
valid_channel_signature: true,
page: page || 1,
order_by: ['release_time'],
}).then((result: ClaimSearchResponse) => {