Link proof debug

This commit is contained in:
Mark Qvist 2021-12-11 18:19:51 +01:00
parent 20dfbcf0cc
commit 0273328b23
2 changed files with 17 additions and 0 deletions

View file

@ -215,6 +215,13 @@ class Link:
proof.send()
self.had_outbound()
# TODO: Remove debug
if packet.sent:
RNS.log("The LR proof was sent")
else:
RNS.log("The LR proof was not sent")
def prove_packet(self, packet):
signature = self.sign(packet.packet_hash)
# TODO: Hardcoded as explicit proof for now