HomePhabricator

[nit] Remove redundant parameter from `CTxMemPool::PrioritiseTransaction`

Description

[nit] Remove redundant parameter from CTxMemPool::PrioritiseTransaction

Summary:
As per title. Remove extra string parameter that prematurely optimizes the RPC API.
This parameter is an opportunity to pass in a string which doesn't match the uint256
provided.

Also happens to be identical to Core PR 9801.

Test Plan:

make check

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix, jasonbcox, Fabien

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, jasonbcox, Fabien

Subscribers: jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D2853

Details

Provenance
schancelAuthored on Apr 22 2019, 01:14
schancelPushed on Apr 25 2019, 05:53
Reviewer
Restricted Owners Package
Differential Revision
D2853: [nit] Remove redundant parameter from `CTxMemPool::PrioritiseTransaction`
Parents
rABC966fcf6ef3b0: Remove direct bitcoin calls from qt/rpcconsole.cpp
Branches
Unknown
Tags
Unknown