aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/key.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/key.h b/src/key.h
index bb3777e384..cf1165d3d0 100644
--- a/src/key.h
+++ b/src/key.h
@@ -137,7 +137,9 @@ public:
return Hash(vch, vch+size());
}
- // just check syntactic correctness.
+ // Check syntactic correctness.
+ //
+ // Note that this is consensus critical as CheckSig() calls it!
bool IsValid() const {
return size() > 0;
}