Fix broken URL in block notification
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
d05d3816b8
commit
b5fc8e9001
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@ class TelegramNotifier:
|
||||||
return payload
|
return payload
|
||||||
|
|
||||||
def notify_block(self, pool, number, hash, reward, time, round_time, luck, reward_fiat=None):
|
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,
|
message_variables = {'pool': pool, 'number': number, 'hash': hash, 'reward': reward, 'time': time,
|
||||||
'luck': luck, 'reward_fiat': reward_fiat}
|
'round_time': round_time, 'luck': luck, 'reward_fiat': reward_fiat}
|
||||||
payload = self._generate_payload(message_variables, 'block.md.j2')
|
payload = self._generate_payload(message_variables, 'block.md.j2')
|
||||||
self._send_message(payload)
|
self._send_message(payload)
|
||||||
|
|
||||||
|
|
Reference in a new issue