update new block message

This commit is contained in:
mroxso 2023-04-12 21:50:41 +02:00
parent d583c9f866
commit 910231d4f4

View File

@ -32,9 +32,10 @@ while True:
block_height = data["height"]
if(block_height > old_block_height):
print("Die aktuelle Bitcoin-Blockhöhe beträgt:", block_height)
message = "⚡️ " + str(block_height) + " ⚡️"
print(message)
event = Event(
content=str(block_height),
content=str(message),
public_key=private_key.public_key.hex()
)
private_key.sign_event(event)