From b4bed5c1f98c0eed18f52fdcea11a420c10ed98d Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 21 Mar 2023 13:04:35 +0000 Subject: [PATCH] refactor: Drop no longer used `CScriptCheck()` default constructor --- src/validation.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/validation.h b/src/validation.h index 7bcb35d9a4..9135a1d05a 100644 --- a/src/validation.h +++ b/src/validation.h @@ -318,7 +318,6 @@ private: PrecomputedTransactionData *txdata; public: - CScriptCheck(): ptxTo(nullptr), nIn(0), nFlags(0), cacheStore(false), error(SCRIPT_ERR_UNKNOWN_ERROR) {} CScriptCheck(const CTxOut& outIn, const CTransaction& txToIn, unsigned int nInIn, unsigned int nFlagsIn, bool cacheIn, PrecomputedTransactionData* txdataIn) : m_tx_out(outIn), ptxTo(&txToIn), nIn(nInIn), nFlags(nFlagsIn), cacheStore(cacheIn), error(SCRIPT_ERR_UNKNOWN_ERROR), txdata(txdataIn) { }