forked from LBRYCommunity/lbry-sdk
parent
c3e047a2aa
commit
769bc2e36e
1 changed files with 5 additions and 4 deletions
|
@ -414,10 +414,11 @@ class Wallet(object):
|
||||||
def save_claim(self, claim_info):
|
def save_claim(self, claim_info):
|
||||||
if 'value' in claim_info:
|
if 'value' in claim_info:
|
||||||
yield self.storage.save_claim(claim_info)
|
yield self.storage.save_claim(claim_info)
|
||||||
elif 'certificate' in claim_info:
|
else:
|
||||||
yield self.storage.save_claim(claim_info['certificate'])
|
if 'certificate' in claim_info:
|
||||||
elif 'claim' in claim_info:
|
yield self.storage.save_claim(claim_info['certificate'])
|
||||||
yield self.storage.save_claim(claim_info['claim'])
|
if 'claim' in claim_info:
|
||||||
|
yield self.storage.save_claim(claim_info['claim'])
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def resolve(self, *uris, **kwargs):
|
def resolve(self, *uris, **kwargs):
|
||||||
|
|
Loading…
Reference in a new issue