diff --git a/core/services/failed_verification/is_the_key_to_blame.py b/core/services/failed_verification/is_the_key_to_blame.py index f50f80d..eb7e01c 100644 --- a/core/services/failed_verification/is_the_key_to_blame.py +++ b/core/services/failed_verification/is_the_key_to_blame.py @@ -121,7 +121,7 @@ def is_the_key_to_blame( if not result_of_comparison: error_msg = "New key is the SAME as the old one." ticket_observer.notify("preparing", subject=error_msg) - return {"valid": False, "message": "same"} + return {"valid": False, "comparison": "same"} status_update = "New key is DIFFERENT from the old one!" ticket_observer.notify("preparing", subject=status_update) @@ -142,9 +142,9 @@ def is_the_key_to_blame( if quantity_results > 0: logger.debug("Therefore, the new key works.") - return {"valid": True, "comparison": "different", "matters": False} + return {"valid": True, "comparison": "different"} else: logger.debug( "Therefore, the new key doesn't help. It is different, but also produces invalid blind signatures." ) - return {"valid": False, "comparison": "different", "matters": False} + return {"valid": False, "comparison": "different"}