Forced node verification resets all verification attributes to False

pull/1029/head
David Núñez 2019-06-14 15:48:13 +02:00
parent c9f7057dd3
commit 01832638e5
1 changed files with 7 additions and 2 deletions

View File

@ -1086,8 +1086,13 @@ class Teacher:
""" """
# Only perform this check once per object if force:
if not force and self.verified_node: self.verified_interface = False
self.verified_node = False
self.verified_stamp = False
self.verified_worker = False
if self.verified_node:
return True return True
# This is both the stamp's client signature and interface metadata check; May raise InvalidNode # This is both the stamp's client signature and interface metadata check; May raise InvalidNode