webhook in webui
This commit is contained in:
@ -228,7 +228,7 @@ async def follow_move(move):
|
||||
|
||||
token_info = SAPI.dex.TOKENS_INFO.get(move['token_in'])
|
||||
token_name_in = token_info.get('symbol') or await SAPI.get_token_metadata(move['token_in'])
|
||||
token_name_out = SAPI.dex.TOKENS_INFO[move['token_out']].get('symbol') or await solanaAPI.get_token_metadata_symbol(move['token_out'])
|
||||
token_name_out = SAPI.dex.TOKENS_INFO[move['token_out']].get('symbol') or await SAPI.get_token_metadata_symbol(move['token_out'])
|
||||
|
||||
if not your_balance:
|
||||
msg = f"<b>Move not followed:</b>\nNo balance found for token {move['symbol_in']}. Cannot follow move."
|
||||
@ -406,7 +406,7 @@ app = init_app()
|
||||
asgi_app = WsgiToAsgi(app)
|
||||
|
||||
async def main():
|
||||
global solanaAPI, bot, PROCESSING_LOG, pk
|
||||
global bot, PROCESSING_LOG, pk
|
||||
|
||||
pk = await get_pk()
|
||||
await telegram_utils.initialize()
|
||||
|
Reference in New Issue
Block a user