mirror of
https://github.com/chainstacklabs/pumpfun-bonkfun-bot.git
synced 2026-08-16 08:48:04 +00:00
fixed buy and sell transactions
This commit is contained in:
@@ -168,13 +168,6 @@ class PumpTrader:
|
|||||||
elif marry_mode:
|
elif marry_mode:
|
||||||
logger.info("Marry mode enabled. Skipping sell operation.")
|
logger.info("Marry mode enabled. Skipping sell operation.")
|
||||||
|
|
||||||
# Wait before looking for the next token
|
|
||||||
if yolo_mode:
|
|
||||||
logger.info(
|
|
||||||
f"YOLO mode enabled. Waiting {config.WAIT_TIME_BEFORE_NEW_TOKEN} seconds before looking for next token..."
|
|
||||||
)
|
|
||||||
await asyncio.sleep(config.WAIT_TIME_BEFORE_NEW_TOKEN)
|
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Error handling token {token_info.symbol}: {str(e)}")
|
logger.error(f"Error handling token {token_info.symbol}: {str(e)}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user