Skip to content

Commit daed925

Browse files
committed
Fixup copy / paste error
Fix from @ajtowns
1 parent 0ca11be commit daed925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoin/core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def from_txin(cls, txin):
222222
return txin
223223

224224
else:
225-
return cls(COutPoint.from_txout(txin.prevout), txin.scriptSig, txin.nSequence)
225+
return cls(COutPoint.from_outpoint(txin.prevout), txin.scriptSig, txin.nSequence)
226226

227227
@__make_mutable
228228
class CMutableTxIn(CTxIn):

0 commit comments

Comments
 (0)