1
0
Fork 0

Fix broken URL in block notification

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2021-01-28 15:13:06 +01:00
parent d05d3816b8
commit b5fc8e9001
No known key found for this signature in database
GPG key ID: FF42D23B580C89F7

View file

@ -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)