Skip to content

Commit 66f6efc

Browse files
committed
rpc: improve TransactionDescriptionString() "generated" help
1 parent 296cfa3 commit 66f6efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ static const std::vector<RPCResult> TransactionDescriptionString()
13881388
{
13891389
return{{RPCResult::Type::NUM, "confirmations", "The number of confirmations for the transaction. Negative confirmations means the\n"
13901390
"transaction conflicted that many blocks ago."},
1391-
{RPCResult::Type::BOOL, "generated", /* optional */ true, "Only present if transaction only input is a coinbase one."},
1391+
{RPCResult::Type::BOOL, "generated", /* optional */ true, "Only present if the transaction's only input is a coinbase one."},
13921392
{RPCResult::Type::BOOL, "trusted", /* optional */ true, "Whether we consider the transaction to be trusted and safe to spend from.\n"
13931393
"Only present when the transaction has 0 confirmations (or negative confirmations, if conflicted)."},
13941394
{RPCResult::Type::STR_HEX, "blockhash", /* optional */ true, "The block hash containing the transaction."},

0 commit comments

Comments
 (0)