@@ -525,9 +525,9 @@ static UniValue getrawmempool(const JSONRPCRequest& request)
525525 {RPCResult::Type::STR_HEX, " " , " The transaction id" },
526526 }},
527527 RPCResult{" for verbose = true" ,
528- RPCResult::Type::OBJ , " " , " " ,
528+ RPCResult::Type::OBJ_DYN , " " , " " ,
529529 {
530- {RPCResult::Type::OBJ_DYN , " transactionid" , " " , MempoolEntryDescription ()},
530+ {RPCResult::Type::OBJ , " transactionid" , " " , MempoolEntryDescription ()},
531531 }},
532532 },
533533 RPCExamples{
@@ -556,7 +556,7 @@ static UniValue getmempoolancestors(const JSONRPCRequest& request)
556556 RPCResult::Type::ARR, " " , " " ,
557557 {{RPCResult::Type::STR_HEX, " " , " The transaction id of an in-mempool ancestor transaction" }}},
558558 RPCResult{" for verbose = true" ,
559- RPCResult::Type::OBJ_DYN , " transactionid" , " " , MempoolEntryDescription ()},
559+ RPCResult::Type::OBJ , " transactionid" , " " , MempoolEntryDescription ()},
560560 },
561561 RPCExamples{
562562 HelpExampleCli (" getmempoolancestors" , " \" mytxid\" " )
@@ -616,9 +616,9 @@ static UniValue getmempooldescendants(const JSONRPCRequest& request)
616616 RPCResult::Type::ARR, " " , " " ,
617617 {{RPCResult::Type::STR_HEX, " " , " The transaction id of an in-mempool descendant transaction" }}},
618618 RPCResult{" for verbose = true" ,
619- RPCResult::Type::OBJ , " " , " " ,
619+ RPCResult::Type::OBJ_DYN , " " , " " ,
620620 {
621- {RPCResult::Type::OBJ_DYN , " transactionid" , " " , MempoolEntryDescription ()},
621+ {RPCResult::Type::OBJ , " transactionid" , " " , MempoolEntryDescription ()},
622622 }},
623623 },
624624 RPCExamples{
@@ -674,7 +674,7 @@ static UniValue getmempoolentry(const JSONRPCRequest& request)
674674 {" txid" , RPCArg::Type::STR_HEX, RPCArg::Optional::NO, " The transaction id (must be in mempool)" },
675675 },
676676 RPCResult{
677- RPCResult::Type::OBJ_DYN , " " , " " , MempoolEntryDescription ()},
677+ RPCResult::Type::OBJ , " " , " " , MempoolEntryDescription ()},
678678 RPCExamples{
679679 HelpExampleCli (" getmempoolentry" , " \" mytxid\" " )
680680 + HelpExampleRpc (" getmempoolentry" , " \" mytxid\" " )
0 commit comments