Skip to content

Commit

Permalink
fix optimizeutxoset returns
Browse files Browse the repository at this point in the history
  • Loading branch information
backpacker69 authored and lateminer committed Jan 18, 2024
1 parent 9b7e549 commit dbc0c91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallet/rpc/spend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,13 +341,13 @@ RPCHelpMan optimizeutxoset()
RPCResult{"if transmit is not set or set to false",
RPCResult::Type::OBJ, "", "",
{
{RPCResult::Type::STR_HEX, "tx", "The transaction hex."}
{RPCResult::Type::STR_HEX, "tx", /*optional=*/true, "The transaction hex."}
},
},
RPCResult{"if transmit is set to true",
RPCResult::Type::OBJ, "", "",
{
{RPCResult::Type::STR_HEX, "txid", "The transaction id."}
{RPCResult::Type::STR_HEX, "txid", /*optional=*/true, "The transaction id."}
},
},
},
Expand Down

0 comments on commit dbc0c91

Please sign in to comment.