From 5ce508e09d3cc4ced8f2eba633663f857a0ca59a Mon Sep 17 00:00:00 2001 From: MarkusTeufelberger Date: Fri, 26 Sep 2014 11:26:06 +0200 Subject: [PATCH] Change output range names of ledger_cleaner The input parameters are called "min_ledger" and "max_ledger", they are also called "minRange" and "maxRange" in the code BUT "ledger_min" and ledger_max" if printed. This is inconsistent and should be changed, as it might lead to confusion on how to call this module via RPC. --- src/ripple/app/ledger/LedgerCleaner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ripple/app/ledger/LedgerCleaner.cpp b/src/ripple/app/ledger/LedgerCleaner.cpp index 82bd055bc..a4cd5518e 100644 --- a/src/ripple/app/ledger/LedgerCleaner.cpp +++ b/src/ripple/app/ledger/LedgerCleaner.cpp @@ -118,8 +118,8 @@ public: else { map["status"] = "running"; - map["ledger_min"] = state->minRange; - map["ledger_max"] = state->maxRange; + map["min_ledger"] = state->minRange; + map["max_ledger"] = state->maxRange; map["check_nodes"] = state->checkNodes ? "true" : "false"; map["fix_txns"] = state->fixTxns ? "true" : "false"; if (state->failures > 0)