Skip to content

Commit

Permalink
coinbase_tx is a vector
Browse files Browse the repository at this point in the history
  • Loading branch information
Danconnolly committed Mar 7, 2024
1 parent 8afa61d commit 004e08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ pub struct GetBlockHeaderResult {
pub next_block_hash: Option<BlockHash>,
pub status: GetBlockResultStatus,
#[serde(rename = "tx")]
pub coinbase_tx: GetRawTransactionResult,
pub coinbase_tx: Vec<GetRawTransactionResult>, /// its a vector but it only has one value
#[serde(rename = "merkleproof")]
pub coinbase_merkle_proof: Vec<Hash>,
}
Expand Down

0 comments on commit 004e08a

Please sign in to comment.