commit 78258a3a950921dd7e160eec7a8ced7055e8a7e6
parent bcdb0c46fc13c00dcd3d6baf8045199aab54b4c5
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 26 Oct 2018 18:45:36 +0200
fix #4802
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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()