forked from LBRYCommunity/lbry-sdk
do not tx._reset() in generate_channel_private_key
This commit is contained in:
parent
4a20ccc28e
commit
7486ee9537
2 changed files with 1 additions and 1 deletions
|
@ -2617,6 +2617,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
)
|
||||
txo = tx.outputs[0]
|
||||
await txo.generate_channel_private_key()
|
||||
tx._reset()
|
||||
|
||||
await tx.sign(funding_accounts)
|
||||
|
||||
|
|
|
@ -450,7 +450,6 @@ class Output(InputOutput):
|
|||
)
|
||||
self.claim.channel.public_key_bytes = self.private_key.get_verifying_key().to_der()
|
||||
self.script.generate()
|
||||
self.tx_ref.tx._reset()
|
||||
return self.private_key
|
||||
|
||||
def is_channel_private_key(self, private_key):
|
||||
|
|
Loading…
Reference in a new issue