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 24, 2024
1 parent 3cb479f commit bdb3e95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pybitblock/SPV/PyVanityGen.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def main():
layout = Layout()
layout.split(
Layout(name="progress", ratio=1),
Layout(name="results", ratio=1),
Layout(name="results", ratio=5),
)

progress_panel = Panel("Starting search...", title="Progress", border_style="yellow")
Expand All @@ -102,7 +102,7 @@ def main():
message = progress_queue.get(timeout=0.1)
if "Found Address" in message:
result_messages.append(message)
if len(result_messages) > 10:
if len(result_messages) > 33:
result_messages.pop(0) # Keep only the last 10 results
result_panel = Panel(Text("\n".join(result_messages)), title="Results", border_style="green")
layout["results"].update(result_panel)
Expand Down

0 comments on commit bdb3e95

Please sign in to comment.