@@ -655,7 +655,7 @@ class MemPoolAccept
655
655
// The package may end up partially-submitted after size limiting; returns true if all
656
656
// transactions are successfully added to the mempool, false otherwise.
657
657
bool SubmitPackage (const ATMPArgs& args, std::vector<Workspace>& workspaces, PackageValidationState& package_state,
658
- std::map<const uint256, const MempoolAcceptResult>& results)
658
+ std::map<uint256, MempoolAcceptResult>& results)
659
659
EXCLUSIVE_LOCKS_REQUIRED(cs_main, m_pool.cs);
660
660
661
661
// Compare a package's feerate against minimum allowed.
@@ -1132,7 +1132,7 @@ bool MemPoolAccept::Finalize(const ATMPArgs& args, Workspace& ws)
1132
1132
1133
1133
bool MemPoolAccept::SubmitPackage (const ATMPArgs& args, std::vector<Workspace>& workspaces,
1134
1134
PackageValidationState& package_state,
1135
- std::map<const uint256, const MempoolAcceptResult>& results)
1135
+ std::map<uint256, MempoolAcceptResult>& results)
1136
1136
{
1137
1137
AssertLockHeld (cs_main);
1138
1138
AssertLockHeld (m_pool.cs );
@@ -1262,7 +1262,7 @@ PackageMempoolAcceptResult MemPoolAccept::AcceptMultipleTransactions(const std::
1262
1262
workspaces.reserve (txns.size ());
1263
1263
std::transform (txns.cbegin (), txns.cend (), std::back_inserter (workspaces),
1264
1264
[](const auto & tx) { return Workspace (tx); });
1265
- std::map<const uint256, const MempoolAcceptResult> results;
1265
+ std::map<uint256, MempoolAcceptResult> results;
1266
1266
1267
1267
LOCK (m_pool.cs );
1268
1268
@@ -1444,7 +1444,7 @@ PackageMempoolAcceptResult MemPoolAccept::AcceptPackage(const Package& package,
1444
1444
1445
1445
LOCK (m_pool.cs );
1446
1446
// Stores final results that won't change
1447
- std::map<const uint256, const MempoolAcceptResult> results_final;
1447
+ std::map<uint256, MempoolAcceptResult> results_final;
1448
1448
// Results from individual validation. "Nonfinal" because if a transaction fails by itself but
1449
1449
// succeeds later (i.e. when evaluated with a fee-bumping child), the result changes (though not
1450
1450
// reflected in this map). If a transaction fails more than once, we want to return the first
0 commit comments