Skip to content

Commit

Permalink
fix zebra-state standalone build
Browse files Browse the repository at this point in the history
  • Loading branch information
oxarbitrage committed Sep 11, 2024
1 parent 8a2d9f1 commit a0c9ce6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions zebra-state/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@ use tracing::{instrument, Instrument, Span};
use tower::buffer::Buffer;

use zebra_chain::{
block::{self, CountedHeader, Height, HeightDiff},
block::{self, CountedHeader, HeightDiff},
diagnostic::{task::WaitForPanics, CodeTimer},
parameters::{Network, NetworkUpgrade},
serialization::ZcashSerialize,
subtree::NoteCommitmentSubtreeIndex,
};

#[cfg(feature = "getblocktemplate-rpcs")]
use zebra_chain::{block::Height, serialization::ZcashSerialize};

use crate::{
constants::{
MAX_FIND_BLOCK_HASHES_RESULTS, MAX_FIND_BLOCK_HEADERS_RESULTS_FOR_ZEBRA,
Expand Down Expand Up @@ -1907,6 +1909,7 @@ impl Service<ReadRequest> for ReadStateService {
.wait_for_panics()
}

#[cfg(feature = "getblocktemplate-rpcs")]
ReadRequest::TipBlockSize => {
let state = self.clone();

Expand Down

0 comments on commit a0c9ce6

Please sign in to comment.