Skip to content

Commit

Permalink
[squash]: remove GetSigVersionFromFlags
Browse files Browse the repository at this point in the history
  • Loading branch information
panleone committed Feb 13, 2024
1 parent ced9ba5 commit 03b419f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/script/interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1547,10 +1547,6 @@ template PrecomputedTransactionData::PrecomputedTransactionData(const CMutableTr
template void PrecomputedTransactionData::Init(const CTransaction& txTo, std::vector<CTxOut>&& spent_outputs);
template void PrecomputedTransactionData::Init(const CMutableTransaction& txTo, std::vector<CTxOut>&& spent_outputs);

SigVersion GetSigVersionFromFlags(unsigned int flags){
return (flags | SCRIPT_ENABLE_DIP0143) ? SigVersion::DIP0143 : SigVersion::BASE;
}

template <class T>
uint256 SignatureHash(const CScript& scriptCode, const T& txTo, unsigned int nIn, int nHashType, const CAmount& amount, const PrecomputedTransactionData* cache)
{
Expand Down

0 comments on commit 03b419f

Please sign in to comment.