Skip to content

Commit 9af4c55

Browse files
knstthephez
andauthored
fix: typos and capitalizations
Co-authored-by: thephez <[email protected]>
1 parent 690ff3a commit 9af4c55

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

src/rpc/evo.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,9 +1657,9 @@ static RPCHelpMan protx_listdiff()
16571657
RPCResult {
16581658
RPCResult::Type::OBJ, "", "",
16591659
{
1660-
{RPCResult::Type::NUM, "baseHeight", "height of base (starting) block"},
1661-
{RPCResult::Type::NUM, "blockHeight", "height of target (ending) block"},
1662-
{RPCResult::Type::ARR, "addedMNs", "added masternodes",
1660+
{RPCResult::Type::NUM, "baseHeight", "Height of base (starting) block"},
1661+
{RPCResult::Type::NUM, "blockHeight", "Height of target (ending) block"},
1662+
{RPCResult::Type::ARR, "addedMNs", "Added masternodes",
16631663
{
16641664
{RPCResult::Type::OBJ, "", "",
16651665
{
@@ -1668,12 +1668,12 @@ static RPCHelpMan protx_listdiff()
16681668
}},
16691669
},
16701670
},
1671-
{RPCResult::Type::ARR, "removedMns", "removed masternodes",
1671+
{RPCResult::Type::ARR, "removedMns", "Removed masternodes",
16721672
{
16731673
{RPCResult::Type::STR_HEX, "protx", "ProTx of removed masternode"},
16741674
},
16751675
},
1676-
{RPCResult::Type::ARR, "updatedMNs", "updated masternodes",
1676+
{RPCResult::Type::ARR, "updatedMNs", "Updated masternodes",
16771677
{
16781678
{RPCResult::Type::OBJ, "", "",
16791679
{

src/rpc/governance.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ namespace {
515515
const RPCResult vote_results{
516516
RPCResult::Type::OBJ, "", "",
517517
{
518-
{RPCResult::Type::STR, "overall", "Total amount of successful and failed votes"},
518+
{RPCResult::Type::STR, "overall", "Total number of successful and failed votes"},
519519
{RPCResult::Type::OBJ, "detail", "Detailed information for each vote",
520520
{
521521
{RPCResult::Type::OBJ, "protx", "ProTx of masternode for voting",
@@ -714,14 +714,14 @@ static RPCHelpMan gobject_list_helper(const bool make_a_diff)
714714
{"type", RPCArg::Type::STR, RPCArg::Default{"all"}, "object type, possible values: [proposals|triggers|all]"},
715715
},
716716
{
717-
RPCResult{"if request is valid",
717+
RPCResult{"If request is valid",
718718
RPCResult::Type::OBJ, "hash", "Object details",
719719
{
720720
// TODO: list fields of output for RPC help instead ELISION
721721
{RPCResult::Type::ELISION, "", ""}
722722
},
723723
},
724-
RPCResult{"if request is invalid",
724+
RPCResult{"If request is invalid",
725725
RPCResult::Type::STR, "", "Error string"
726726
},
727727
},

src/rpc/quorums.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ static RPCHelpMan quorum_dkgstatus()
295295
{RPCResult::Type::OBJ, "", "",
296296
{
297297
{RPCResult::Type::NUM, "llmqType", "Name of quorum"},
298-
{RPCResult::Type::NUM, "quorumIndex", "Relevant for rotation quorums only, for non rotating quorums is 0"},
298+
{RPCResult::Type::NUM, "quorumIndex", "Relevant for rotation quorums only, 0 for non-rotating quorums"},
299299
{RPCResult::Type::OBJ, "status", "",
300300
{
301301
// TODO: list fields of output for RPC help instead ELISION
@@ -1105,7 +1105,7 @@ static RPCHelpMan verifyislock()
11051105
{"signature", RPCArg::Type::STR, RPCArg::Optional::NO, "The InstantSend Lock signature to verify."},
11061106
{"maxHeight", RPCArg::Type::NUM, RPCArg::Default{-1}, "The maximum height to search quorums from."},
11071107
},
1108-
RPCResult{RPCResult::Type::BOOL, "", "Returns true if the instantsent is valid"},
1108+
RPCResult{RPCResult::Type::BOOL, "", "Returns true if the instantsend lock is valid"},
11091109
RPCExamples{""},
11101110
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
11111111
{

src/rpc/rawtransaction.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,14 +361,14 @@ static RPCHelpMan getrawtransactionmulti() {
361361
RPCResult{
362362
RPCResult::Type::OBJ, "", "",
363363
{
364-
{"if verbose is not set or set to false",
364+
{"If verbose is not set or set to false",
365365
RPCResult::Type::STR_HEX, "txid", "The serialized, hex-encoded data for 'txid'"},
366366
{"if verbose is set to true",
367367
RPCResult::Type::OBJ, "txid", "The decoded network-serialized transaction.",
368368
{
369369
{RPCResult::Type::ELISION, "", "The layout is the same as the output of getrawtransaction."},
370370
}},
371-
{"if tx is unknown", RPCResult::Type::STR, "txid", "None"},
371+
{"If tx is unknown", RPCResult::Type::STR, "txid", "None"},
372372
},
373373
},
374374
RPCExamples{

0 commit comments

Comments
 (0)