mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
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.
This commit is contained in:
committed by
Vinnie Falco
parent
3cfa5a41b1
commit
5ce508e09d
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user