Fixed Resource string representation. Added emission timestamp in announce.

This commit is contained in:
Mark Qvist 2021-10-09 21:30:34 +02:00
parent 4ef369cdd8
commit c0fb419fe1
3 changed files with 23 additions and 4 deletions

View file

@ -804,7 +804,7 @@ class Resource:
return progress
def __str__(self):
return RNS.prettyhexrep(self.hash)+str(self.link)
return "<"+RNS.hexrep(self.hash)+"/"+RNS.hexrep(self.link.link_id)+">"
class ResourceAdvertisement: