Skip to content

Commit

Permalink
Merge branch 'estimatesmartfee' of https://github.com/pranabp-bit/bit…
Browse files Browse the repository at this point in the history
…coin into estimatesmartfee
  • Loading branch information
pranabp-bit committed Aug 17, 2021
2 parents 45b6f05 + 79aa255 commit a549bd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rpc/mining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ static RPCHelpMan estimatesmartfee()
RPCTypeCheckArgument(request.params[0], UniValue::VNUM);

CBlockPolicyEstimator& fee_estimator = EnsureAnyFeeEstimator(request.context);
NodeContext& node = EnsureAnyNodeContext(request.context);
const NodeContext& node = EnsureAnyNodeContext(request.context);
const CTxMemPool& mempool = EnsureMemPool(node);

unsigned int max_target = fee_estimator.HighestTargetTracked(FeeEstimateHorizon::LONG_HALFLIFE);
Expand Down
2 changes: 1 addition & 1 deletion test/functional/feature_fee_estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def run_test(self):
check_estimates(self.nodes[1], self.fees_per_kb)

# check that the effective feerate is greater than or equal to the mempoolminfee even for high mempoolminfee
self.log.info("Estimates after restarting node with high MempoolMinFee")
self.log.info("Test fee rate estimation after restarting node with high MempoolMinFee")
self.restart_node(1, extra_args=['-minrelaytxfee=0.0003'])
check_estimates(self.nodes[1], self.fees_per_kb)

Expand Down

0 comments on commit a549bd1

Please sign in to comment.