Skip to content

Commit 051ec4e

Browse files
committed
Remove unneeded v0.8 merge remnant
1 parent 94c0c9f commit 051ec4e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

bitcoin/core/__init__.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -486,14 +486,7 @@ def GetTxid(self):
486486
txid = Hash(self.serialize())
487487
return txid
488488

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
489+
@__make_mutable
497490
class CMutableTransaction(CTransaction):
498491
"""A mutable transaction"""
499492
__slots__ = []

0 commit comments

Comments
 (0)