Explain how to get rid of a tiny duplicated function

This commit is contained in:
teor 2021-11-16 10:51:07 +10:00 committed by Jack Grigg
parent f4a8dc57e0
commit bdbd86edb7
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ struct ECCryptoClosure
ECCryptoClosure instance_of_eccryptoclosure;
/// Copy of GetLegacySigOpCount from main.cpp commit c4b2ef7c4
// Copy of GetLegacySigOpCount from main.cpp commit c4b2ef7c4.
// Replace with the copy from src/consensus/tx_verify.{cpp,h} after backporting that refactor.
unsigned int GetLegacySigOpCount(const CTransaction& tx)
{
unsigned int nSigOps = 0;