activate detached sigs

This commit is contained in:
Victor Shyba 2019-01-17 17:04:00 -03:00 committed by Lex Berezhny
parent 899b182811
commit 3c54b2bcd7

View file

@ -413,7 +413,8 @@ class LbryWalletManager(BaseWalletManager):
claim_address = await account.receiving.get_or_create_usable_address() claim_address = await account.receiving.get_or_create_usable_address()
if certificate: if certificate:
claim = claim.sign( claim = claim.sign(
certificate.private_key, claim_address, certificate.claim_id, curve=SECP256k1, name=name certificate.private_key, claim_address, certificate.claim_id, curve=SECP256k1, name=name,
force_detached=True
) )
existing_claims = await account.get_claims( existing_claims = await account.get_claims(
claim_name_type__any={'is_claim': 1, 'is_update': 1}, # exclude is_supports claim_name_type__any={'is_claim': 1, 'is_update': 1}, # exclude is_supports