forked from LBRYCommunity/lbry-sdk
fix RPC publish claim serialization
This commit is contained in:
parent
75f57fc517
commit
6f1d2e7690
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class Transaction(BaseTransaction):
|
||||||
# type: (bytes, ClaimDict, int, bytes, List[BaseAccount], BaseAccount) -> defer.Deferred
|
# type: (bytes, ClaimDict, int, bytes, List[BaseAccount], BaseAccount) -> defer.Deferred
|
||||||
ledger = cls.ensure_all_have_same_ledger(funding_accounts, change_account)
|
ledger = cls.ensure_all_have_same_ledger(funding_accounts, change_account)
|
||||||
claim_output = Output.pay_claim_name_pubkey_hash(
|
claim_output = Output.pay_claim_name_pubkey_hash(
|
||||||
amount, name, hexlify(meta.serialized), ledger.address_to_hash160(holding_address)
|
amount, name, meta.serialized, ledger.address_to_hash160(holding_address)
|
||||||
)
|
)
|
||||||
return cls.pay([claim_output], funding_accounts, change_account)
|
return cls.pay([claim_output], funding_accounts, change_account)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue