From b5fc8e90018f4314d10df307755064cc9a70ee14 Mon Sep 17 00:00:00 2001 From: Julien Riou Date: Thu, 28 Jan 2021 15:13:06 +0100 Subject: [PATCH] Fix broken URL in block notification Signed-off-by: Julien Riou --- telegram.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telegram.py b/telegram.py index 2624d74..a213a8d 100644 --- a/telegram.py +++ b/telegram.py @@ -36,8 +36,8 @@ class TelegramNotifier: return payload def notify_block(self, pool, number, hash, reward, time, round_time, luck, reward_fiat=None): - message_variables = {'pool': pool, 'number': number, 'reward': reward, 'time': time, 'round_time': round_time, - 'luck': luck, 'reward_fiat': reward_fiat} + message_variables = {'pool': pool, 'number': number, 'hash': hash, 'reward': reward, 'time': time, + 'round_time': round_time, 'luck': luck, 'reward_fiat': reward_fiat} payload = self._generate_payload(message_variables, 'block.md.j2') self._send_message(payload)