tx._reset() the transaction after more internal changes

This commit is contained in:
Lex Berezhny 2021-02-07 13:30:42 -05:00
parent f80dd2b307
commit 4a20ccc28e

View file

@ -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)