interpreter: remove clang-tidy suppression

This commit is contained in:
fanquake committed 2026-03-03 17:04:56 +00:00
1 parent 4089682f5c
commit 5e35a9069d
1 file changed
-4
-4
View File
@@ -1258,12 +1258,8 @@ private:
const CScript& scriptCode; //!< output script being consumed
const unsigned int nIn; //!< input index of txTo being signed
const bool fAnyoneCanPay; //!< whether the hashtype has the SIGHASH_ANYONECANPAY flag set
// Temporary workaround for a clang-tidy bug fixed in version 22.
// See: https://github.com/llvm/llvm-project/issues/160394.
// NOLINTBEGIN(modernize-use-default-member-init)
const bool fHashSingle; //!< whether the hashtype is SIGHASH_SINGLE
const bool fHashNone; //!< whether the hashtype is SIGHASH_NONE
// NOLINTEND(modernize-use-default-member-init)
public:
CTransactionSignatureSerializer(const T& txToIn, const CScript& scriptCodeIn, unsigned int nInIn, int nHashTypeIn) :