Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nit: Fix compiler warning for g++-8 in txmempool.cpp
Summary --- When working on other code, I noticed that on Linux on g++-8, I was getting the following compiler warning when compiling txmempool.cpp: ../src/txmempool.cpp: In lambda function: ../src/txmempool.cpp:903:20: warning: declaration of ‘const TxId txId’ shadows a parameter [-Wshadow] const TxId txId{txit->GetTx().GetId()}; ^~~~ ../src/txmempool.cpp:893:53: note: shadowed declaration is here auto CTxMemPool::recursiveDSProofSearch(const TxId &txId, DspDescendants *desc, double *score) const ~~~~~~~~~~~~^~~~ This commit fixes the warning. Test Plan --- No real changes to this codebase occur here. But: - `ninja all check check-functional` should do it.
- Loading branch information