diff --git a/web/explorer/explorer-server/src/server.rs b/web/explorer/explorer-server/src/server.rs --- a/web/explorer/explorer-server/src/server.rs +++ b/web/explorer/explorer-server/src/server.rs @@ -200,9 +200,6 @@ let block = self.chronik.block_by_hash(&block_hash).await?; let block_info = block.block_info.ok_or_else(|| eyre!("Block has no info"))?; - let block_details = block - .block_details - .ok_or_else(|| eyre!("Block has details"))?; let blockchain_info = self.chronik.blockchain_info().await?; let best_height = blockchain_info.tip_height; @@ -217,7 +214,6 @@ block_hex, block_header: block.raw_header, block_info, - block_details, confirmations, timestamp, difficulty, diff --git a/web/explorer/explorer-server/src/templating.rs b/web/explorer/explorer-server/src/templating.rs --- a/web/explorer/explorer-server/src/templating.rs +++ b/web/explorer/explorer-server/src/templating.rs @@ -2,8 +2,8 @@ use askama::Template; use bitcoinsuite_chronik_client::proto::{ - BlockDetails, BlockInfo, SlpGenesisInfo, SlpMeta, SlpTokenType, SlpTxType, - Token, Tx, Utxo, + BlockInfo, SlpGenesisInfo, SlpMeta, SlpTokenType, SlpTxType, Token, Tx, + Utxo, }; use chrono::{DateTime, Utc}; @@ -23,7 +23,6 @@ pub block_hex: &'a str, pub block_header: Vec, pub block_info: BlockInfo, - pub block_details: BlockDetails, pub confirmations: i32, pub timestamp: DateTime, pub difficulty: f64, diff --git a/web/explorer/explorer-server/templates/pages/block.html b/web/explorer/explorer-server/templates/pages/block.html --- a/web/explorer/explorer-server/templates/pages/block.html +++ b/web/explorer/explorer-server/templates/pages/block.html @@ -129,11 +129,6 @@ Transactions {{ block_info.num_txs }} - - - Nonce - {{ block_details.nonce }} -