Use gettxout where scantxoutset is not available.

This commit is contained in:
tecnovert committed 2023-11-25 00:40:52 +02:00
1 parent 22cd3cf9f1
commit 7053d7ee4b
23 files changed
+4985 -124

No files matched your search

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