URI: 
       ttransaction: follow-up prev - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 968eeebdc07b692a4ae6ffdc06875fdfd3c78994
   DIR parent 8560930bac223e8bd0fa06bf469876129734a0fa
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Sun,  1 Mar 2020 22:08:18 +0100
       
       ttransaction: follow-up prev
       
       makes more sense to special-case deserialize()
       and not invoke the extra logic then
       
       Diffstat:
         M electrum/transaction.py             |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/electrum/transaction.py b/electrum/transaction.py
       t@@ -577,7 +577,7 @@ class Transaction:
                raw_bytes = bfh(self._cached_network_ser)
                vds = BCDataStream()
                vds.write(raw_bytes)
       -        self.version = vds.read_int32()
       +        self._version = vds.read_int32()
                n_vin = vds.read_compact_size()
                is_segwit = (n_vin == 0)
                if is_segwit:
       t@@ -595,7 +595,7 @@ class Transaction:
                if is_segwit:
                    for txin in self._inputs:
                        parse_witness(vds, txin)
       -        self.locktime = vds.read_uint32()
       +        self._locktime = vds.read_uint32()
                if vds.can_read_more():
                    raise SerializationError('extra junk at the end')