Poryaei / All-In-One

Automatic clicker for the (Hamster ~ TapSwap ~ Cex IO) bots.
MIT License
119 stars 26 forks source link

Multi-account is not able to proceed with taps and updates since "next_hamster_click" is never set #43

Closed k-pypin closed 3 months ago

k-pypin commented 3 months ago

start_hamster_client is trying to obtain next_hamster_click value from the cache and just returns if it is None or less then the current time.

The thing is - it is never set to an actual value.

I believe that

if next_hamster_click == None or time.time() < next_hamster_click:
        return

should be changed to

if next_hamster_click is not None and time.time() < next_hamster_click:
        return
Poryaei commented 3 months ago

Hello Thank you. You are right, the code has been updated.