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/txmempool.h | |
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/txmempool.h')
-rw-r--r-- | src/txmempool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index db1a02455f..a7ecb64390 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -555,7 +555,7 @@ public: bool HasNoInputsOf(const CTransaction& tx) const; /** Affect CreateNewBlock prioritisation of transactions */ - void PrioritiseTransaction(const uint256 hash, const std::string strHash, double dPriorityDelta, const CAmount& nFeeDelta); + void PrioritiseTransaction(const uint256& hash, double dPriorityDelta, const CAmount& nFeeDelta); void ApplyDeltas(const uint256 hash, double &dPriorityDelta, CAmount &nFeeDelta) const; void ClearPrioritisation(const uint256 hash); |