Skip to content

Commit

Permalink
Link request debug
Browse files Browse the repository at this point in the history
  • Loading branch information
markqvist committed Dec 11, 2021
1 parent 0273328 commit eeb424e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RNS/Link.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def validate_request(owner, data, packet):

except Exception as e:
RNS.log("Validating link request failed", RNS.LOG_VERBOSE)
traceback.print_exc()
RNS.log("exc: "+str(e))
return None

else:
Expand Down Expand Up @@ -216,11 +216,11 @@ def prove(self):
self.had_outbound()

# TODO: Remove debug
if packet.sent:
if proof.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)
Expand Down

0 comments on commit eeb424e

Please sign in to comment.