Skip to content

Commit

Permalink
Try add p2sh
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchocholaty committed Nov 8, 2024
1 parent 40aa722 commit 0497eb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ def valid_input(self, vin_idx, vin):
return self.validate_p2pkh(vin_idx, vin)
#pass
elif scriptpubkey_type == "p2sh":
#return self.validate_p2sh(vin_idx, vin)
pass
return self.validate_p2sh(vin_idx, vin)
#pass
elif scriptpubkey_type == "v0_p2wsh":
#self.has_witness = True
pass
Expand Down

0 comments on commit 0497eb8

Please sign in to comment.