From 8ff2189794a4e4d0450e0e26c2aa8c9993a3613f Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Wed, 12 Sep 2018 06:09:33 +0530 Subject: [PATCH] removing @cachedproperty from tx.py --- electrumx/lib/tx.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/electrumx/lib/tx.py b/electrumx/lib/tx.py index f09e795..bb516fd 100644 --- a/electrumx/lib/tx.py +++ b/electrumx/lib/tx.py @@ -602,7 +602,6 @@ class DeserializerDecred(Deserializer): class TxFlo(namedtuple("Tx", "version inputs outputs locktime txcomment")): '''Class representing a transaction.''' - @cachedproperty def is_coinbase(self): return self.inputs[0].is_coinbase @@ -611,7 +610,6 @@ class TxFloSegWit(namedtuple("Tx", "version marker flag inputs outputs " "witness locktime txcomment")): '''Class representing a SegWit transaction.''' - @cachedproperty def is_coinbase(self): return self.inputs[0].is_coinbase