Skip to content

Commit

Permalink
Incorporate suggestions on changing JSON key names.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescowens committed Jun 15, 2020
1 parent 75ba876 commit 9fa4c71
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1869,8 +1869,8 @@ UniValue backupwallet(const UniValue& params, bool fHelp)
ret.pushKV("Backup wallet success", bWalletBackupResults);
ret.pushKV("Backup config success", bConfigBackupResults);
ret.pushKV("Manage backup file retention success", bManageBackupResults);
ret.pushKV("number_of_files_removed", (int64_t) files_removed.size());
ret.pushKV("files_removed", u_files_removed);
ret.pushKV("Number of files removed", (int64_t) files_removed.size());
ret.pushKV("Files removed", u_files_removed);

return ret;
}
Expand All @@ -1885,8 +1885,8 @@ UniValue managebackups(const UniValue& params, bool fHelp)
"1. \"retention_by_number\" (non-negative integer, optional) The number of files to retain\n"
"2. \"retention_by_days\" (non-negative integer, optional) The number of days to retain\n"
"These must be specified as a pair if provided.\n"
"To run this command, -managebackupretention must be set as an argument or\n"
"given in the config file with managebackupretention=1"
"To run this command, -managebackupretention must be set as an argument during Gridcoin\n"
"startup or given in the config file with managebackupretention=1."
"\n"
"Manage backup retention.\n");

Expand Down Expand Up @@ -1918,9 +1918,9 @@ UniValue managebackups(const UniValue& params, bool fHelp)
}

UniValue ret(UniValue::VOBJ);
ret.pushKV("manage_backup_file_retention_success", bManageBackupResults);
ret.pushKV("number_of_files_removed", (int64_t) files_removed.size());
ret.pushKV("files_removed", u_files_removed);
ret.pushKV("Manage backup file retention success", bManageBackupResults);
ret.pushKV("Number of files removed", (int64_t) files_removed.size());
ret.pushKV("Files removed", u_files_removed);

return ret;
}
Expand Down

0 comments on commit 9fa4c71

Please sign in to comment.