Emission timestamp in announce.

This commit is contained in:
Mark Qvist 2021-10-09 21:36:01 +02:00
parent c0fb419fe1
commit e8ee26f78d
2 changed files with 5 additions and 0 deletions

View file

@ -149,6 +149,9 @@ class Destination:
destination_hash = self.hash
random_hash = RNS.Identity.get_random_hash()[0:5]+int(time.time()).to_bytes(5, "big")
# TODO: Remove
RNS.log("ArB: "+RNS.hexrep(random_hash))
if app_data == None and self.default_app_data != None:
if isinstance(self.default_app_data, bytes):
app_data = self.default_app_data