forked from LBRYCommunity/lbry-sdk
explicitly define a default for signatures as expected on 0.21
This commit is contained in:
parent
e4497c1327
commit
72ce0cd0b0
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ from typing import Optional
|
||||||
|
|
||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
|
|
||||||
|
from lbryschema.schema import SECP256k1
|
||||||
from torba.basemanager import BaseWalletManager
|
from torba.basemanager import BaseWalletManager
|
||||||
|
|
||||||
from lbryschema.claim import ClaimDict
|
from lbryschema.claim import ClaimDict
|
||||||
|
@ -354,7 +355,7 @@ class LbryWalletManager(BaseWalletManager):
|
||||||
claim_address = yield account.receiving.get_or_create_usable_address()
|
claim_address = yield account.receiving.get_or_create_usable_address()
|
||||||
if certificate:
|
if certificate:
|
||||||
claim = claim.sign(
|
claim = claim.sign(
|
||||||
certificate.signature, claim_address, certificate.claim_id
|
certificate.signature, claim_address, certificate.claim_id, curve=SECP256k1
|
||||||
)
|
)
|
||||||
existing_claims = yield account.get_claims(claim_name=name)
|
existing_claims = yield account.get_claims(claim_name=name)
|
||||||
if len(existing_claims) == 0:
|
if len(existing_claims) == 0:
|
||||||
|
|
Loading…
Reference in a new issue