aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2021-06-16 13:19:25 +0200
committerLinus Nordberg <linus@nordberg.se>2021-06-16 13:19:25 +0200
commit9b0109848b10a370e1a19c9d3789e048f1992f86 (patch)
tree45116be94249d0e1a8a8ca8935056c8b83f4bb41
parente79f6189d090fc0515c3e5935695787c51039c77 (diff)
be explicit when we return None
-rwxr-xr-xsiglog-witness.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/siglog-witness.py b/siglog-witness.py
index 0ddb8b7..5b799e0 100755
--- a/siglog-witness.py
+++ b/siglog-witness.py
@@ -223,6 +223,7 @@ class TreeHead:
proof.path())
return ERR_CONSISTENCYPROOF_INVALID, errmsg
+ return None # Success
class ConsistencyProof():
def __init__(self, consistency_proof_data):