Explain how to get rid of a tiny duplicated function
This commit is contained in:
parent
f4a8dc57e0
commit
bdbd86edb7
|
@ -70,7 +70,8 @@ struct ECCryptoClosure
|
||||||
|
|
||||||
ECCryptoClosure instance_of_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 GetLegacySigOpCount(const CTransaction& tx)
|
||||||
{
|
{
|
||||||
unsigned int nSigOps = 0;
|
unsigned int nSigOps = 0;
|
||||||
|
|
Loading…
Reference in New Issue