diff options
author | gubatron <gubatron@gmail.com> | 2017-02-19 10:23:04 -0700 |
---|---|---|
committer | gubatron <gubatron@gmail.com> | 2017-02-21 20:44:23 -0700 |
commit | eaea2bbb411c5d878e991d9082ca037628efce42 (patch) | |
tree | ba5a1225fb6f2ab064a20ed2babd235674aa89e4 /src/validation.cpp | |
parent | 390a39bb5cf4eca849a75802f92a361a9bcac310 (diff) |
Removed redundant parameter from mempool.PrioritiseTransaction
(Also made the `const uint256 hash` parameter a `const uint256& hash` as suggested by @sdaftuar)
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 00f29eb62e..f4609a5cd2 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -4211,7 +4211,7 @@ bool LoadMempool(void) CAmount amountdelta = nFeeDelta; if (amountdelta) { - mempool.PrioritiseTransaction(tx->GetHash(), tx->GetHash().ToString(), prioritydummy, amountdelta); + mempool.PrioritiseTransaction(tx->GetHash(), prioritydummy, amountdelta); } CValidationState state; if (nTime + nExpiryTimeout > nNow) { @@ -4232,7 +4232,7 @@ bool LoadMempool(void) file >> mapDeltas; for (const auto& i : mapDeltas) { - mempool.PrioritiseTransaction(i.first, i.first.ToString(), prioritydummy, i.second); + mempool.PrioritiseTransaction(i.first, prioritydummy, i.second); } } catch (const std::exception& e) { LogPrintf("Failed to deserialize mempool data on disk: %s. Continuing anyway.\n", e.what()); |