forked from LBRYCommunity/lbry-sdk
commit
6b3261aa33
1 changed files with 1 additions and 1 deletions
|
@ -2479,7 +2479,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
Returns: {Paginated[Output]}
|
Returns: {Paginated[Output]}
|
||||||
"""
|
"""
|
||||||
wallet = self.wallet_manager.get_wallet_or_default(kwargs.pop('wallet_id', None))
|
wallet = self.wallet_manager.get_wallet_or_default(kwargs.pop('wallet_id', None))
|
||||||
if "claim_ids" in kwargs and not kwargs["claim_id"]:
|
if "claim_ids" in kwargs and not kwargs["claim_ids"]:
|
||||||
kwargs.pop("claim_ids")
|
kwargs.pop("claim_ids")
|
||||||
if {'claim_id', 'claim_ids'}.issubset(kwargs):
|
if {'claim_id', 'claim_ids'}.issubset(kwargs):
|
||||||
raise ValueError("Only 'claim_id' or 'claim_ids' is allowed, not both.")
|
raise ValueError("Only 'claim_id' or 'claim_ids' is allowed, not both.")
|
||||||
|
|
Loading…
Reference in a new issue