From 004e08a51d84d60380c82b226da0a3ae1b14ea8c Mon Sep 17 00:00:00 2001 From: Daniel Connolly Date: Thu, 7 Mar 2024 01:55:58 +0100 Subject: [PATCH] coinbase_tx is a vector --- json/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json/src/lib.rs b/json/src/lib.rs index 270ff80f..6286aea2 100644 --- a/json/src/lib.rs +++ b/json/src/lib.rs @@ -339,7 +339,7 @@ pub struct GetBlockHeaderResult { pub next_block_hash: Option, pub status: GetBlockResultStatus, #[serde(rename = "tx")] - pub coinbase_tx: GetRawTransactionResult, + pub coinbase_tx: Vec, /// its a vector but it only has one value #[serde(rename = "merkleproof")] pub coinbase_merkle_proof: Vec, }