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/rpc/mining.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/rpc/mining.cpp')
-rw-r--r-- | src/rpc/mining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index c594daca0d..5113b8ec1d 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -282,7 +282,7 @@ UniValue prioritisetransaction(const JSONRPCRequest& request) uint256 hash = ParseHashStr(request.params[0].get_str(), "txid"); CAmount nAmount = request.params[2].get_int64(); - mempool.PrioritiseTransaction(hash, request.params[0].get_str(), request.params[1].get_real(), nAmount); + mempool.PrioritiseTransaction(hash, request.params[1].get_real(), nAmount); return true; } |