Skip to content

Commit

Permalink
Add other
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchocholaty committed Nov 6, 2024
1 parent d6f45c3 commit fdd9831
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,12 @@ def valid_input(self, vin_idx, vin):
if scriptpubkey_type == "p2pkh":
return self.validate_p2pkh(vin_idx, vin)
elif scriptpubkey_type == "p2sh":
pass
#pass
return True
elif scriptpubkey_type == "v0_p2wsh":
pass
return True
elif scriptpubkey_type == "v1_p2tr":
pass
return True
elif scriptpubkey_type == "v0_p2wpkh":
return self.validate_p2wpkh(vin_idx, vin)

Expand Down

0 comments on commit fdd9831

Please sign in to comment.