Skip to content

Commit

Permalink
Update PyVanityGen.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SatoshiNakamotoBitcoin authored Oct 4, 2024
1 parent 03ba09d commit a26b086
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pybitblock/SPV/PyVanityGen.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@


witness_type = 'segwit'
#witness_type = 'legacy'

def address_search(search_for='1BTC'):
global witness_type
Expand All @@ -29,6 +30,7 @@ def address_search(search_for='1BTC'):
raise ValueError(f"This is not a valid base58 or bech32 search string: {search_for}")
if is_base58 and not is_bech32:
witness_type = 'p2sh-segwit'
#witness_type = 'legacy'

print(f"PyBLOCK Searching for {search_for}, witness_type is {witness_type} (pid {os.getpid()})")

Expand Down

0 comments on commit a26b086

Please sign in to comment.