0age / create2crunch

A Rust program for finding salts that create gas-efficient Ethereum addresses via CREATE2.
MIT License
495 stars 97 forks source link

Fix terminal printing #5

Closed Vectorized closed 1 year ago

Vectorized commented 1 year ago

Sorry, my previous PR had an issue where it won't print out results to the terminal for small number of leading zeros (<= 3) when using GPU OpenCL (because too little time has elapsed between the start of the loop and the time when a solution is found).

This PR fixes it by not resetting the previous time of printing upon every solution found.