Skip to content

Commit

Permalink
rpc: fixup example with num < 3 (MAX_CONF_TARGET)
Browse files Browse the repository at this point in the history
  • Loading branch information
willcl-ark committed Feb 20, 2024
1 parent 338d84b commit 72981d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/fees.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static RPCHelpMan estimatefeewithmempool()
{RPCResult::Type::STR, "", "error"},
}},
}},
RPCExamples{HelpExampleCli("estimatesfeewithmempool", "6") + HelpExampleRpc("estimatesfeewithmempool", "6")},
RPCExamples{HelpExampleCli("estimatesfeewithmempool", "2") + HelpExampleRpc("estimatesfeewithmempool", "2")},
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue {
MemPoolPolicyEstimator& fee_estimator = EnsureAnyMemPoolFeeEstimator(request.context);
const NodeContext& node = EnsureAnyNodeContext(request.context);
Expand Down

0 comments on commit 72981d8

Please sign in to comment.