Skip to content

Commit e3f1a03

Browse files
committed
Minor: doc formatting fix
1 parent 8587503 commit e3f1a03

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

bitcoin/core/__init__.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,9 +434,11 @@ def from_tx(cls, tx):
434434
return cls(tx.vin, tx.vout, tx.nLockTime, tx.nVersion, tx.wit)
435435

436436
def GetTxid(self):
437-
"""Get the transaction ID. This differs from the transactions hash as
438-
given by GetHash. GetTxid excludes witness data, while GetHash
439-
includes it. """
437+
"""Get the transaction ID.
438+
439+
This differs from the transactions hash as given by GetHash. GetTxid
440+
excludes witness data, while GetHash includes it.
441+
"""
440442
if self.wit != CTxWitness():
441443
txid = Hash(CTransaction(self.vin, self.vout, self.nLockTime,
442444
self.nVersion).serialize())

0 commit comments

Comments
 (0)