From 510c6532bae9abc5beda1c126c945923a64680cb Mon Sep 17 00:00:00 2001 From: Ben Woosley Date: Thu, 4 Apr 2019 00:39:04 -0700 Subject: Extract ParseDescriptorRange So as to be consistently informative when the checks fail, and to protect against unintentional divergence among the checks. --- src/rpc/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rpc/util.h') diff --git a/src/rpc/util.h b/src/rpc/util.h index e4cc1fde44..d2edf30e02 100644 --- a/src/rpc/util.h +++ b/src/rpc/util.h @@ -39,7 +39,7 @@ RPCErrorCode RPCErrorFromTransactionError(TransactionError terr); UniValue JSONRPCTransactionError(TransactionError terr, const std::string& err_string = ""); //! Parse a JSON range specified as int64, or [int64, int64] -std::pair ParseRange(const UniValue& value); +std::pair ParseDescriptorRange(const UniValue& value); struct RPCArg { enum class Type { -- cgit v1.2.3