mirror of
https://github.com/basicswap/basicswap.git
synced 2026-05-25 14:03:07 +02:00
Use gettxout where scantxoutset is not available.
This commit is contained in:
@@ -475,10 +475,11 @@ class CTransaction(object):
|
||||
if flags != 0:
|
||||
self.wit.vtxinwit = [CTxInWitness() for i in range(len(self.vin))]
|
||||
self.wit.deserialize(f)
|
||||
|
||||
self.nLockTime = struct.unpack("<I", f.read(4))[0]
|
||||
self.sha256 = None
|
||||
self.hash = None
|
||||
if self.nVersion > 2:
|
||||
if self.nVersion >= 2:
|
||||
self.strDZeel = deser_string(f)
|
||||
|
||||
def serialize_without_witness(self):
|
||||
|
||||
Reference in New Issue
Block a user