Skip to content

Commit

Permalink
fix: TxIn.__repr__
Browse files Browse the repository at this point in the history
  • Loading branch information
quad authored and Scott Robinson committed Feb 17, 2022
1 parent 6498cf8 commit e1b9a80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion session3/complete/tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(self, prev_tx, prev_index, script_sig=None, sequence=0xFFFFFFFF):
self.sequence = sequence

def __repr__(self):
return f"{self.prev_tx.hex()}:{prev_index}"
return f"{self.prev_tx.hex()}:{self.prev_index}"

@classmethod
def parse(cls, s):
Expand Down
2 changes: 1 addition & 1 deletion session3/tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, prev_tx, prev_index, script_sig=None, sequence=0xFFFFFFFF):
self.sequence = sequence

def __repr__(self):
return f"{self.prev_tx.hex()}:{prev_index}"
return f"{self.prev_tx.hex()}:{self.prev_index}"

@classmethod
def parse(cls, s):
Expand Down

0 comments on commit e1b9a80

Please sign in to comment.