Document that CPubKey.IsValid() is consensus critical
This commit is contained in:
parent
a16ad1c0f4
commit
5a986edac8
1 changed files with 3 additions and 1 deletions
|
@ -137,7 +137,9 @@ public:
|
||||||
return Hash(vch, vch+size());
|
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 {
|
bool IsValid() const {
|
||||||
return size() > 0;
|
return size() > 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue