update the pair address on hoodi
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
123e0599db
commit
1d4853df57
6
main.py
6
main.py
@ -151,7 +151,7 @@ class EventBot:
|
||||
network_data["ftso"],
|
||||
log
|
||||
)
|
||||
await self.send_alert(message, button)
|
||||
await self.send_alert(network_name, message, button)
|
||||
|
||||
checked_index = 0
|
||||
last_block = current_block
|
||||
@ -164,7 +164,7 @@ class EventBot:
|
||||
finally:
|
||||
rpc_manager.next_rpc()
|
||||
|
||||
async def send_alert(self, message, button_reply_markup):
|
||||
async def send_alert(self, network_name, message, button_reply_markup):
|
||||
try:
|
||||
await self.bot.send_message(
|
||||
chat_id=self.chat_id,
|
||||
@ -175,7 +175,7 @@ class EventBot:
|
||||
)
|
||||
await asyncio.sleep(0.5)
|
||||
except Exception as e:
|
||||
logger.error(f"[{network}] TG error during sending: {e}.")
|
||||
logger.error(f"[{network_name}] TG error during sending: {e}.")
|
||||
|
||||
async def start(self, networks):
|
||||
tasks = [
|
||||
|
||||
@ -77,7 +77,7 @@
|
||||
"events": [
|
||||
{
|
||||
"name": "Swap",
|
||||
"address": "0x53B13C4722081c405ce25c7A7629fC326A49a469",
|
||||
"address": "0x32388605b5E83Ea79CDdC479AA9939DBCF98f59D",
|
||||
"topic": "0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822"
|
||||
},
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user