removing @cachedproperty from tx.py
This commit is contained in:
parent
b526df5f63
commit
8ff2189794
@ -602,7 +602,6 @@ class DeserializerDecred(Deserializer):
|
|||||||
class TxFlo(namedtuple("Tx", "version inputs outputs locktime txcomment")):
|
class TxFlo(namedtuple("Tx", "version inputs outputs locktime txcomment")):
|
||||||
'''Class representing a transaction.'''
|
'''Class representing a transaction.'''
|
||||||
|
|
||||||
@cachedproperty
|
|
||||||
def is_coinbase(self):
|
def is_coinbase(self):
|
||||||
return self.inputs[0].is_coinbase
|
return self.inputs[0].is_coinbase
|
||||||
|
|
||||||
@ -611,7 +610,6 @@ class TxFloSegWit(namedtuple("Tx", "version marker flag inputs outputs "
|
|||||||
"witness locktime txcomment")):
|
"witness locktime txcomment")):
|
||||||
'''Class representing a SegWit transaction.'''
|
'''Class representing a SegWit transaction.'''
|
||||||
|
|
||||||
@cachedproperty
|
|
||||||
def is_coinbase(self):
|
def is_coinbase(self):
|
||||||
return self.inputs[0].is_coinbase
|
return self.inputs[0].is_coinbase
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user