Enable timestamp for rest-traffic

This commit is contained in:
stubbsta 2025-04-10 15:22:49 +02:00
parent 6b417b6b74
commit a9a533919e
No known key found for this signature in database

View File

@ -16,7 +16,7 @@ def send_waku_msg(node_address, kbytes, pubsub_topic, content_topic):
"payload": base64_payload,
"contentTopic": content_topic,
"version": 1, # You can adjust the version as needed
#"timestamp": int(time.time())
"timestamp": int(time.time())
}
encoded_pubsub_topic = urllib.parse.quote(pubsub_topic, safe='')