mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
Merge pull request #3744 from petertodd/document-isvalid-is-consensus-critical
Document that CPubKey.IsValid() is consensus critical
This commit is contained in:
commit
7be6ebcf08
@ -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 New Issue
Block a user