File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -475,8 +475,10 @@ class MemPoolAccept
475
475
bool m_replacement_transaction;
476
476
CAmount m_base_fees;
477
477
CAmount m_modified_fees;
478
- CAmount m_conflicting_fees;
479
- size_t m_conflicting_size;
478
+ /* * Total modified fees of all transactions being replaced. */
479
+ CAmount m_conflicting_fees{0 };
480
+ /* * Total virtual size of all transactions being replaced. */
481
+ size_t m_conflicting_size{0 };
480
482
481
483
const CTransactionRef& m_ptx;
482
484
const uint256& m_hash;
@@ -799,8 +801,6 @@ bool MemPoolAccept::PreChecks(ATMPArgs& args, Workspace& ws)
799
801
800
802
// Check if it's economically rational to mine this transaction rather
801
803
// than the ones it replaces.
802
- nConflictingFees = 0 ;
803
- nConflictingSize = 0 ;
804
804
uint64_t nConflictingCount = 0 ;
805
805
806
806
// If we don't hold the lock allConflicting might be incomplete; the
You can’t perform that action at this time.
0 commit comments