Skip to content

Commit

Permalink
explicitly instantiate required templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ajtowns committed Nov 25, 2023
1 parent 5553b6e commit 881be5f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/script/txhash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -806,3 +806,21 @@ bool calculate_txhash(
hash_out = ss.GetSHA256();
return true;
}

template
bool calculate_txhash(uint256&, const std::vector<unsigned char>&, TxHashCache&,
const CTransaction& tx,
const std::vector<CTxOut>&,
const std::vector<unsigned char>&,
uint32_t,
uint32_t
);

template
bool calculate_txhash(uint256&, const std::vector<unsigned char>&, TxHashCache&,
const CMutableTransaction& tx,
const std::vector<CTxOut>&,
const std::vector<unsigned char>&,
uint32_t,
uint32_t
);

0 comments on commit 881be5f

Please sign in to comment.