diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 0fb68cf8dbba4..64c9b29955f97 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -692,7 +692,9 @@ static RPCHelpMan getblocktemplate() {RPCResult::Type::STR_HEX, "eta_fiat_shamir", /*optional=*/true, "Only on Proof of Stake"}, {RPCResult::Type::NUM, "modifier", /*optional=*/true, "Only on Proof of Stake"}, {RPCResult::Type::NUM, "prev_time", /*optional=*/true, "Only on Proof of Stake"}, - {RPCResult::Type::OBJ, "staked_commitments", /*optional=*/true, "Only on Proof of Stake"}, + {RPCResult::Type::ARR, "staked_commitments", /*optional=*/true, "Only on Proof of Stake", { + {RPCResult::Type::STR_HEX, "", "staked_commitment"}, + }}, {RPCResult::Type::STR_HEX, "default_witness_commitment", /*optional=*/true, "a valid witness commitment for the unmodified block template"}, }}, },