diff --git a/electrum/transaction.py b/electrum/transaction.py index b9134eaab..1f1271f4f 100644 --- a/electrum/transaction.py +++ b/electrum/transaction.py @@ -1067,6 +1067,7 @@ class Transaction: return network_ser def serialize_to_network(self, estimate_size=False, witness=True): + self.deserialize() nVersion = int_to_hex(self.version, 4) nLocktime = int_to_hex(self.locktime, 4) inputs = self.inputs()