diff options
| author | John Newbery <[email protected]> | 2018-09-22 23:27:01 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2018-09-22 23:27:01 -0400 |
| commit | 1eb9a9b524a82157e65180e85a832bd721388459 (patch) | |
| tree | c754d806635ffd443b5bcd230417ffd3c086e22e /src/rpc/mining.cpp | |
| parent | Merge #14287: tests: Use MakeUnique to construct objects owned by unique_ptrs (diff) | |
| download | discoin-1eb9a9b524a82157e65180e85a832bd721388459.tar.xz discoin-1eb9a9b524a82157e65180e85a832bd721388459.zip | |
[RPC] Remove warning for removed estimatefee RPC
The RPC was removed in a previous version, but a warning was
left for users to use the estimatesmartfee RPC. Remove that warning now
that estimatefee has been gone for over one version.
Diffstat (limited to 'src/rpc/mining.cpp')
| -rw-r--r-- | src/rpc/mining.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index b1bea85fe..809f61430 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -795,12 +795,6 @@ static UniValue submitheader(const JSONRPCRequest& request) throw JSONRPCError(RPC_VERIFY_ERROR, state.GetRejectReason()); } -static UniValue estimatefee(const JSONRPCRequest& request) -{ - throw JSONRPCError(RPC_METHOD_DEPRECATED, "estimatefee was removed in v0.17.\n" - "Clients should use estimatesmartfee."); -} - static UniValue estimatesmartfee(const JSONRPCRequest& request) { if (request.fHelp || request.params.size() < 1 || request.params.size() > 2) @@ -978,7 +972,6 @@ static const CRPCCommand commands[] = { "generating", "generatetoaddress", &generatetoaddress, {"nblocks","address","maxtries"} }, - { "hidden", "estimatefee", &estimatefee, {} }, { "util", "estimatesmartfee", &estimatesmartfee, {"conf_target", "estimate_mode"} }, { "hidden", "estimaterawfee", &estimaterawfee, {"conf_target", "threshold"} }, |