forked from LBRYCommunity/lbry-sdk
tx._reset() the transaction after more internal changes
This commit is contained in:
parent
f80dd2b307
commit
4a20ccc28e
1 changed files with 2 additions and 0 deletions
|
@ -2773,6 +2773,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
new_txo.private_key = old_txo.private_key
|
new_txo.private_key = old_txo.private_key
|
||||||
|
|
||||||
new_txo.script.generate()
|
new_txo.script.generate()
|
||||||
|
tx._reset()
|
||||||
|
|
||||||
await tx.sign(funding_accounts)
|
await tx.sign(funding_accounts)
|
||||||
|
|
||||||
|
@ -3959,6 +3960,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
new_txo = tx.outputs[0]
|
new_txo = tx.outputs[0]
|
||||||
|
|
||||||
new_txo.script.generate()
|
new_txo.script.generate()
|
||||||
|
tx._reset()
|
||||||
|
|
||||||
if channel:
|
if channel:
|
||||||
new_txo.sign(channel)
|
new_txo.sign(channel)
|
||||||
|
|
Loading…
Reference in a new issue