commit 546c0e1bb6ec132eb2dacab116f09fed0bff119c
parent 15a77e2f47eec8665377fb6431da237a660b16e3
Author: zebra-lucky <zebra.lucky@gmail.com>
Date: Tue, 6 Oct 2020 18:10:46 +0300
tx: add deserialize to locktime/version properties (#6633)
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/electrum/transaction.py b/electrum/transaction.py
@@ -545,6 +545,7 @@ class Transaction:
@property
def locktime(self):
+ self.deserialize()
return self._locktime
@locktime.setter
@@ -555,6 +556,7 @@ class Transaction:
@property
def version(self):
+ self.deserialize()
return self._version
@version.setter