We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94c0c9f commit 051ec4eCopy full SHA for 051ec4e
1 file changed
bitcoin/core/__init__.py
@@ -486,14 +486,7 @@ def GetTxid(self):
486
txid = Hash(self.serialize())
487
return txid
488
489
-# preserve GetHash so our AttributeError-raising stub works
490
-def __make_CMutableTransaction_mutable(cls):
491
- get_hash_fn = cls.GetHash
492
- cls = __make_mutable(cls)
493
- cls.GetHash = get_hash_fn
494
- return cls
495
-
496
-@__make_CMutableTransaction_mutable
+@__make_mutable
497
class CMutableTransaction(CTransaction):
498
"""A mutable transaction"""
499
__slots__ = []
0 commit comments