Removed redundant parameter from mempool.PrioritiseTransaction

(Also made the `const uint256 hash` parameter a `const uint256& hash` as suggested by @sdaftuar)
This commit is contained in:
gubatron
2017-02-19 10:23:04 -07:00
parent 390a39bb5c
commit eaea2bbb41
4 changed files with 6 additions and 6 deletions

View File

@@ -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;
}