This commit is contained in:
SomberNight 2018-10-26 18:45:36 +02:00
parent bcdb0c46fc
commit 78258a3a95
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

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