From 4a20ccc28e586f3d490e6cd61592097fbaa8dd8f Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sun, 7 Feb 2021 13:30:42 -0500 Subject: [PATCH] tx._reset() the transaction after more internal changes --- lbry/extras/daemon/daemon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lbry/extras/daemon/daemon.py b/lbry/extras/daemon/daemon.py index c1a7e0fdb..0f26499d8 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -2773,6 +2773,7 @@ class Daemon(metaclass=JSONRPCServerType): new_txo.private_key = old_txo.private_key new_txo.script.generate() + tx._reset() await tx.sign(funding_accounts) @@ -3959,6 +3960,7 @@ class Daemon(metaclass=JSONRPCServerType): new_txo = tx.outputs[0] new_txo.script.generate() + tx._reset() if channel: new_txo.sign(channel)