Skip to content

Commit 98718d0

Browse files
committed
scripted-diff: RPC/blockchain: Lowercase "when" in scantxoutset documentation
-BEGIN VERIFY SCRIPT- sed -i -e 's/"When /"when /' $(git grep -l 'RPCResult{"When ') -END VERIFY SCRIPT-
1 parent b283e4d commit 98718d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rpc/blockchain.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -2305,13 +2305,13 @@ static RPCHelpMan scantxoutset()
23052305
"[scanobjects,...]"},
23062306
},
23072307
{
2308-
RPCResult{"When action=='abort'", RPCResult::Type::BOOL, "success", "True if scan will be aborted (not necessarily before this RPC returns), or false if there is no scan to abort"},
2309-
RPCResult{"When action=='status' and no scan is in progress - possibly already completed", RPCResult::Type::NONE, "", ""},
2310-
RPCResult{"When action=='status' and a scan is currently in progress", RPCResult::Type::OBJ, "", "",
2308+
RPCResult{"when action=='abort'", RPCResult::Type::BOOL, "success", "True if scan will be aborted (not necessarily before this RPC returns), or false if there is no scan to abort"},
2309+
RPCResult{"when action=='status' and no scan is in progress - possibly already completed", RPCResult::Type::NONE, "", ""},
2310+
RPCResult{"when action=='status' and a scan is currently in progress", RPCResult::Type::OBJ, "", "",
23112311
{
23122312
{RPCResult::Type::NUM, "progress", "Approximate percent complete"},
23132313
}},
2314-
RPCResult{"When action=='start'; only returns after scan completes", RPCResult::Type::OBJ, "", "", {
2314+
RPCResult{"when action=='start'; only returns after scan completes", RPCResult::Type::OBJ, "", "", {
23152315
{RPCResult::Type::BOOL, "success", "Whether the scan was completed"},
23162316
{RPCResult::Type::NUM, "txouts", "The number of unspent transaction outputs scanned"},
23172317
{RPCResult::Type::NUM, "height", "The current block height (index)"},

0 commit comments

Comments
 (0)