@@ -525,9 +525,9 @@ static UniValue getrawmempool(const JSONRPCRequest& request)
525
525
{RPCResult::Type::STR_HEX, " " , " The transaction id" },
526
526
}},
527
527
RPCResult{" for verbose = true" ,
528
- RPCResult::Type::OBJ , " " , " " ,
528
+ RPCResult::Type::OBJ_DYN , " " , " " ,
529
529
{
530
- {RPCResult::Type::OBJ_DYN , " transactionid" , " " , MempoolEntryDescription ()},
530
+ {RPCResult::Type::OBJ , " transactionid" , " " , MempoolEntryDescription ()},
531
531
}},
532
532
},
533
533
RPCExamples{
@@ -556,7 +556,7 @@ static UniValue getmempoolancestors(const JSONRPCRequest& request)
556
556
RPCResult::Type::ARR, " " , " " ,
557
557
{{RPCResult::Type::STR_HEX, " " , " The transaction id of an in-mempool ancestor transaction" }}},
558
558
RPCResult{" for verbose = true" ,
559
- RPCResult::Type::OBJ_DYN , " transactionid" , " " , MempoolEntryDescription ()},
559
+ RPCResult::Type::OBJ , " transactionid" , " " , MempoolEntryDescription ()},
560
560
},
561
561
RPCExamples{
562
562
HelpExampleCli (" getmempoolancestors" , " \" mytxid\" " )
@@ -616,9 +616,9 @@ static UniValue getmempooldescendants(const JSONRPCRequest& request)
616
616
RPCResult::Type::ARR, " " , " " ,
617
617
{{RPCResult::Type::STR_HEX, " " , " The transaction id of an in-mempool descendant transaction" }}},
618
618
RPCResult{" for verbose = true" ,
619
- RPCResult::Type::OBJ , " " , " " ,
619
+ RPCResult::Type::OBJ_DYN , " " , " " ,
620
620
{
621
- {RPCResult::Type::OBJ_DYN , " transactionid" , " " , MempoolEntryDescription ()},
621
+ {RPCResult::Type::OBJ , " transactionid" , " " , MempoolEntryDescription ()},
622
622
}},
623
623
},
624
624
RPCExamples{
@@ -674,7 +674,7 @@ static UniValue getmempoolentry(const JSONRPCRequest& request)
674
674
{" txid" , RPCArg::Type::STR_HEX, RPCArg::Optional::NO, " The transaction id (must be in mempool)" },
675
675
},
676
676
RPCResult{
677
- RPCResult::Type::OBJ_DYN , " " , " " , MempoolEntryDescription ()},
677
+ RPCResult::Type::OBJ , " " , " " , MempoolEntryDescription ()},
678
678
RPCExamples{
679
679
HelpExampleCli (" getmempoolentry" , " \" mytxid\" " )
680
680
+ HelpExampleRpc (" getmempoolentry" , " \" mytxid\" " )
0 commit comments