Skip to content

Commit 69bd4f7

Browse files
knstthephezcoderabbitai[bot]
authored
Apply suggestions from code review
Co-authored-by: thephez <thephez@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent b49a2f4 commit 69bd4f7

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

src/rpc/masternode.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ static RPCHelpMan masternode_connect()
5050
{"v2transport", RPCArg::Type::BOOL, RPCArg::DefaultHint{"set by -v2transport"}, "Attempt to connect using BIP324 v2 transport protocol"},
5151
},
5252
RPCResult{
53-
RPCResult::Type::STR, "status", "Returns 'successfully connected' if succeed"
53+
RPCResult::Type::STR, "status", "Returns 'successfully connected' if successful"
5454
},
5555
RPCExamples{""},
5656
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
@@ -90,20 +90,20 @@ static RPCHelpMan masternode_count()
9090
RPCResult{
9191
RPCResult::Type::OBJ, "", "",
9292
{
93-
{RPCResult::Type::NUM, "total", "Total amount Masternodes"},
94-
{RPCResult::Type::NUM, "enabled", "Amount of enabled Masternodes"},
95-
{RPCResult::Type::OBJ, "details", "Amount of enabled Masternodes",
93+
{RPCResult::Type::NUM, "total", "Total number of Masternodes"},
94+
{RPCResult::Type::NUM, "enabled", "Number of enabled Masternodes"},
95+
{RPCResult::Type::OBJ, "details", "Number of enabled Masternodes",
9696
{{RPCResult::Type::OBJ, "", "",
9797
{
9898
{RPCResult::Type::OBJ, "regular", "Details for regular masternodes",
9999
{
100-
{RPCResult::Type::NUM, "total", "Total amount regular Masternodes"},
101-
{RPCResult::Type::NUM, "enabled", "Amount of enabled regular Masternodes"}
100+
{RPCResult::Type::NUM, "total", "Total number of regular Masternodes"},
101+
{RPCResult::Type::NUM, "enabled", "Number of enabled regular Masternodes"}
102102
}},
103103
{RPCResult::Type::OBJ, "evo", "Details for Evo nodes",
104104
{
105-
{RPCResult::Type::NUM, "total", "Total amount Evo nodes"},
106-
{RPCResult::Type::NUM, "enabled", "Amount of enabled Evo nodes"}
105+
{RPCResult::Type::NUM, "total", "Total number of Evo nodes"},
106+
{RPCResult::Type::NUM, "enabled", "Number of enabled Evo nodes"}
107107
}},
108108
}},
109109
}}

src/rpc/quorums.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -780,10 +780,9 @@ static RPCHelpMan quorum_selectquorum()
780780
RPCResult::Type::OBJ, "", "",
781781
{
782782
{RPCResult::Type::STR_HEX, "quorumHash", "Hash of chosen quorum"},
783-
/* {RPCResult::Type::ARR, "recoveryMembers", "list of members to do sig recovery",
784-
{RPCResult::Type::STR_HEX, "hash", "protx hash of member"}
783+
{RPCResult::Type::ARR, "recoveryMembers", "List of members to use for signature recovery",
784+
{RPCResult::Type::STR_HEX, "hash", "ProTxHash of member"}
785785
},
786-
*/
787786
}
788787
},
789788
RPCExamples{""},

0 commit comments

Comments
 (0)