Skip to content

Commit

Permalink
Merge pull request #160 from mxaddict/fix-getblocktemplate-doc-error
Browse files Browse the repository at this point in the history
  • Loading branch information
aguycalled authored Aug 3, 2024
2 parents 01b4f32 + 16a75c7 commit 6a82b95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rpc/mining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
}},
},
Expand Down

0 comments on commit 6a82b95

Please sign in to comment.