mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-14 06:32:33 +01:00
SigOp and orphan-tx constants and counts are always unsigned.
Fixes several sign-comparison warnings.
This commit is contained in:
@@ -491,11 +491,11 @@ public:
|
||||
// CHECKMULTISIGs serialized in scriptSigs are
|
||||
// counted more accurately, assuming they are of the form
|
||||
// ... OP_N CHECKMULTISIG ...
|
||||
int GetSigOpCount(bool fAccurate) const;
|
||||
unsigned int GetSigOpCount(bool fAccurate) const;
|
||||
|
||||
// Accurately count sigOps, including sigOps in
|
||||
// pay-to-script-hash transactions:
|
||||
int GetSigOpCount(const CScript& scriptSig) const;
|
||||
unsigned int GetSigOpCount(const CScript& scriptSig) const;
|
||||
|
||||
bool IsPayToScriptHash() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user